We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997b804 commit f25e8d3Copy full SHA for f25e8d3
1 file changed
src/MainWindow.vala
@@ -17,11 +17,10 @@ public class Monitor.MainWindow : Gtk.ApplicationWindow {
17
if (MonitorApp.settings.get_boolean ("indicator-state")) {
18
debug ("Indicator is enabled, hiding the window instead of closing");
19
hide ();
20
- return true;
+ return Gdk.EVENT_STOP;
21
}
22
debug ("Close the window");
23
- close ();
24
- return false;
+ return Gdk.EVENT_PROPAGATE;
25
});
26
27
0 commit comments