mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-12 07:37:35 +00:00
parent
731360d56d
commit
b327aefdbb
1 changed files with 4 additions and 1 deletions
|
@ -173,7 +173,10 @@ session_inhibit (CallsCallWindow *self, gboolean inhibit)
|
|||
self->inhibit_cookie =
|
||||
gtk_application_inhibit (gtk_window_get_application (GTK_WINDOW (self)),
|
||||
GTK_WINDOW (self),
|
||||
GTK_APPLICATION_INHIBIT_SUSPEND,
|
||||
GTK_APPLICATION_INHIBIT_SUSPEND |
|
||||
GTK_APPLICATION_INHIBIT_IDLE |
|
||||
GTK_APPLICATION_INHIBIT_LOGOUT |
|
||||
GTK_APPLICATION_INHIBIT_SWITCH,
|
||||
"call active");
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue