1
0
Fork 0
forked from wry/wry

screencast: implement format negotation

This commit is contained in:
Julian Orth 2024-09-04 12:03:42 +02:00
parent 8d2bd6f660
commit e7c63fd09a
19 changed files with 649 additions and 201 deletions

View file

@ -591,7 +591,7 @@ impl OutputNode {
if (old_width, old_height) != (new_width, new_height) {
for sc in self.screencasts.lock().values() {
sc.schedule_realloc();
sc.schedule_realloc_or_reconfigure();
}
}

View file

@ -134,7 +134,7 @@ impl<T: ToplevelNodeBase> ToplevelNode for T {
let prev = data.desired_extents.replace(*rect);
if prev.size() != rect.size() {
for sc in data.jay_screencasts.lock().values() {
sc.schedule_realloc();
sc.schedule_realloc_or_reconfigure();
}
}
if data.is_floating.get() {