From 3ded4e93cb9657c4cdb0a86bce6d18b98f00d087 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 19 Jan 2018 21:54:53 +0100 Subject: Inhibit screensaver using native GTK method --- src/slideshow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/slideshow.h') 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 */ -- cgit v1.2.3