From 2b1c0885fe53b95455ae650762651c69ae1a227d Mon Sep 17 00:00:00 2001 From: Bert Date: Sun, 23 Jan 2011 16:14:41 +0100 Subject: Implemented fullscreen mode --- main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index a73fbf2..fca12e8 100644 --- a/main.c +++ b/main.c @@ -218,6 +218,11 @@ void on_keypress(XEvent *ev) { case 'l': changed = img_pan(&img, &win, PAN_RIGHT); break; + + /* change window state */ + case 'f': + win_toggle_fullscreen(&win); + break; } if (changed) { -- cgit v1.2.3