When in fullscreen mode, focus whole screens instead of denying to focus (Thanks dothebart)
This fixes ticket #169.
This commit is contained in:
parent
e3e7ebe23a
commit
5dbcb0158f
|
@ -100,8 +100,8 @@ static void focus_thing(xcb_connection_t *conn, direction_t direction, thing_t t
|
||||||
assert(container != NULL);
|
assert(container != NULL);
|
||||||
|
|
||||||
if (container->workspace->fullscreen_client != NULL) {
|
if (container->workspace->fullscreen_client != NULL) {
|
||||||
LOG("You're in fullscreen mode. Won't switch focus\n");
|
LOG("You're in fullscreen mode. Forcing focus to operate on whole screens\n");
|
||||||
return;
|
thing = THING_SCREEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* For focusing screens, situation is different: we get the rect
|
/* For focusing screens, situation is different: we get the rect
|
||||||
|
|
Loading…
Reference in New Issue