]> git.sur5r.net Git - i3/i3/commitdiff
When in fullscreen mode, focus whole screens instead of denying to focus (Thanks...
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Mar 2010 14:45:48 +0000 (15:45 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 2 Mar 2010 14:45:48 +0000 (15:45 +0100)
This fixes ticket #169.

src/commands.c

index 3aab9b82fc53458a7f37e4cad48293aad7b6e6b3..f4bc04be3dc83bb035cd3e8526ff39f1684ce86d 100644 (file)
@@ -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