# HG changeset patch # User zas_ # Date 1262713790 0 # Node ID d8e9d0cc640e6305b43459dd87472f0b9e51873a # Parent 368a7e7cc695eddb60c23ed54d453b3c0590e539 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 368a7e7cc695 -r d8e9d0cc640e src/lirc.c --- a/src/lirc.c Sat Dec 19 12:53:20 2009 +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;