From 5dbcb0158f24191ecc07990902433cacc68659bf Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 2 Mar 2010 15:45:48 +0100 Subject: [PATCH] When in fullscreen mode, focus whole screens instead of denying to focus (Thanks dothebart) This fixes ticket #169. --- src/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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