[pinpoint] Inhibit if started with the "-f" flag
- From: Tobias Mueller <tobiasmue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pinpoint] Inhibit if started with the "-f" flag
- Date: Tue, 8 Jul 2014 23:03:24 +0000 (UTC)
commit bb486c1676586ba0e3f7638bb12ee521adcb81e5
Author: Tobias Mueller <muelli cryptobitch de>
Date: Sun Apr 27 16:21:52 2014 +0200
Inhibit if started with the "-f" flag
When pressing F11 pinpoint will stop making the screen saver come up.
When started with "-f", however, the inhibit function is not called.
This is incoherent behaviour. This fix addresses this issue.
https://bugzilla.gnome.org/show_bug.cgi?id=729062
pp-clutter.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pp-clutter.c b/pp-clutter.c
index e614ad9..a54a487 100644
--- a/pp-clutter.c
+++ b/pp-clutter.c
@@ -1006,8 +1006,10 @@ clutter_renderer_init (PinPointRenderer *pp_renderer,
clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE);
- if (pp_fullscreen)
+ if (pp_fullscreen) {
pp_set_fullscreen (renderer, CLUTTER_STAGE (stage), TRUE);
+ pp_inhibit (renderer, pp_fullscreen);
+ }
renderer->path = pinpoint_file;
if (renderer->path)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]