1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-12 07:37:35 +00:00

call-window: inhibit idle during active call

Closes #202
This commit is contained in:
Evangelos Ribeiro Tzaras 2020-12-17 11:08:32 +01:00
parent 731360d56d
commit b327aefdbb

View file

@ -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