mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
Auto set floating mode window to be always above
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
const { GLib, GObject, Gtk, Pango } = imports.gi;
|
||||
const { HeaderBar } = imports.src.headerbar;
|
||||
const Debug = imports.src.debug;
|
||||
const DBus = imports.src.dbus;
|
||||
|
||||
const REVEAL_TIME = 800;
|
||||
|
||||
@@ -264,6 +265,8 @@ class ClapperControlsRevealer extends Gtk.Revealer
|
||||
|
||||
widget.height_request = widget.get_height();
|
||||
this.reveal_child ^= true;
|
||||
|
||||
DBus.callMakeAbove(!this.reveal_child);
|
||||
}
|
||||
|
||||
_onControlsRevealed()
|
||||
|
Reference in New Issue
Block a user