all repos — openbox @ d9601bc196c130adfc14af73261919b9a7aa3db2

openbox fork - make it a bit more like ryudo

.. i am pretending to be mika :D :D ok this time for real
Dana Jansens danakj@orodu.net
commit

d9601bc196c130adfc14af73261919b9a7aa3db2

parent

d98a6183a38a8f2b88707c3b4955d10dc09e4a71

1 files changed, 2 insertions(+), 4 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -468,8 +468,7 @@

/* If a nothing at all, or a parent was focused, then focus this always */ - if (client_search_focus_parent(self) != NULL || - !focus_client) + if (!focus_client || client_search_focus_parent(self) != NULL) { activate = TRUE; }

@@ -481,8 +480,7 @@ activate = FALSE;

/* Don't steal focus from globally active clients. I stole this idea from KWin. It seems nice. */ - if (focus_client && !focus_client->can_focus && - focus_client->focus_notify) + if (!focus_client->can_focus && focus_client->focus_notify) { activate = FALSE; }