From: Michael Stapelberg Date: Tue, 2 Mar 2010 14:45:48 +0000 (+0100) Subject: When in fullscreen mode, focus whole screens instead of denying to focus (Thanks... X-Git-Tag: 3.e~6^2~130 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5dbcb0158f24191ecc07990902433cacc68659bf;p=i3%2Fi3 When in fullscreen mode, focus whole screens instead of denying to focus (Thanks dothebart) This fixes ticket #169. --- diff --git a/src/commands.c b/src/commands.c index 3aab9b82..f4bc04be 100644 --- a/src/commands.c +++ b/src/commands.c @@ -100,8 +100,8 @@ static void focus_thing(xcb_connection_t *conn, direction_t direction, thing_t t assert(container != NULL); if (container->workspace->fullscreen_client != NULL) { - LOG("You're in fullscreen mode. Won't switch focus\n"); - return; + LOG("You're in fullscreen mode. Forcing focus to operate on whole screens\n"); + thing = THING_SCREEN; } /* For focusing screens, situation is different: we get the rect