mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
Emit windows_changed less, add comment
This commit is contained in:
parent
f9acc77637
commit
a476bc0477
@ -19,12 +19,11 @@ public class Gala.DesktopIntegration : GLib.Object {
|
||||
private unowned WindowManagerGala wm;
|
||||
public uint version { get; default = 1; }
|
||||
public signal void running_applications_changed ();
|
||||
public signal void windows_changed ();
|
||||
public signal void windows_changed (); // Only emitted if the number of windows changes, not if window properties change
|
||||
|
||||
public DesktopIntegration (WindowManagerGala wm) {
|
||||
this.wm = wm;
|
||||
wm.window_tracker.windows_changed.connect (() => windows_changed ());
|
||||
wm.get_display ().restacked.connect (() => windows_changed ());
|
||||
}
|
||||
|
||||
public RunningApplication[] get_running_applications () throws GLib.DBusError, GLib.IOError {
|
||||
|
Loading…
Reference in New Issue
Block a user