# HG changeset patch # User zas_ # Date 1262713790 0 # Node ID b0352818977b7d1f366344f545b4b3943bae3c16 # Parent 261c16ca7da6ddb162066f9f03d5ea0021799acc Allow to switch to fullscreen mode using LIRC. Imagine the following situation (which happened to me several times) : you want to see photos from your bed or your sofa so you launch geeqie and go to the right directory, then you take your remote control and sit comfortably far from your keyboard and mouse. And when you want to begin to watch photos, you realize you forgot to enable full screen! You have to stand up and to go until your computer and come back, whereas you could have done it with your remote control. Patch by Bernard Massot. diff -r 261c16ca7da6 -r b0352818977b src/lirc.c --- a/src/lirc.c Sat Jan 02 12:38:55 2010 +0000 +++ b/src/lirc.c Tue Jan 05 17:49:50 2010 +0000 @@ -132,6 +132,10 @@ { layout_image_zoom_set(lw, 0.0, FALSE); } + else if (g_ascii_strcasecmp("FULL_SCREEN", cmd) == 0) + { + layout_image_full_screen_toggle(lw); + } else if (g_ascii_strncasecmp("SET_ZOOM", cmd, 8) == 0) { ptr = cmd + 8;