screencast: implement format negotation
This commit is contained in:
parent
8d2bd6f660
commit
e7c63fd09a
19 changed files with 649 additions and 201 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue