Commit b327aefd authored by Evangelos Ribeiro Tzaras's avatar Evangelos Ribeiro Tzaras
Browse files

call-window: inhibit idle during active call

Closes #202
parent 731360d5
Pipeline #62641 passed with stages
in 12 minutes and 47 seconds
...@@ -173,7 +173,10 @@ session_inhibit (CallsCallWindow *self, gboolean inhibit) ...@@ -173,7 +173,10 @@ session_inhibit (CallsCallWindow *self, gboolean inhibit)
self->inhibit_cookie = self->inhibit_cookie =
gtk_application_inhibit (gtk_window_get_application (GTK_WINDOW (self)), gtk_application_inhibit (gtk_window_get_application (GTK_WINDOW (self)),
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"); "call active");
} }
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment