Make floating window update its title earlier

Instead of waiting till animation finishes, update the window title right away when changing modes
This commit is contained in:
Rafał Dzięgiel
2021-12-15 16:58:54 +01:00
parent 5e4dfb322c
commit d465d9f150
2 changed files with 6 additions and 6 deletions

View File

@@ -326,7 +326,7 @@ class ClapperWidget extends Gtk.Grid
refreshWindowTitle(title)
{
const isFloating = !this.controlsRevealer.child_revealed;
const isFloating = !this.controlsRevealer.reveal_child;
const pipSuffix = ' - PiP';
const hasPipSuffix = title.endsWith(pipSuffix);