diff options
author | Thomas White <taw@physics.org> | 2018-01-19 21:54:53 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-01-19 22:30:31 +0100 |
commit | 3ded4e93cb9657c4cdb0a86bce6d18b98f00d087 (patch) | |
tree | 2e43517e2a0f73c95597626a49215761cc3b726f /src/slideshow.h | |
parent | 62bc4fb111b38e8d3969451462d3c5e08b086c35 (diff) |
Inhibit screensaver using native GTK method
Diffstat (limited to 'src/slideshow.h')
-rw-r--r-- | src/slideshow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/slideshow.h b/src/slideshow.h index f52313e..be96303 100644 --- a/src/slideshow.h +++ b/src/slideshow.h @@ -58,11 +58,12 @@ struct _scslideshow int slide_height; int xoff; int yoff; - struct inhibit_sys *inhibit; int linked; cairo_surface_t *surface; struct frame *top; int single_monitor; + uint inhibit_cookie; + GtkApplication *app; }; @@ -74,7 +75,7 @@ struct _scslideshowclass typedef struct _scslideshow SCSlideshow; typedef struct _scslideshowclass SCSlideshowClass; -extern SCSlideshow *sc_slideshow_new(struct presentation *p); +extern SCSlideshow *sc_slideshow_new(struct presentation *p, GtkApplication *app); extern void sc_slideshow_set_slide(SCSlideshow *ss, SCBlock *ns); #endif /* SLIDESHOW_H */ |