summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-13 07:09:34 +0000
committerDana Jansens <danakj@orodu.net>2007-05-13 07:09:34 +0000
commit1e957a168808f0357509300e879c0a7e97b49a24 (patch)
tree96f90517ae2d2a2196bd0dc6d54d89b203538fd8 /openbox/client.c
parentf694c650c83a7c29324debf3ac35d5e0c3abd84e (diff)
some changes to focus handling.
most interesting is the change in focus_fallback, which means that it won't call xsetinput focus in some cases, potentially reducing flicker and stuff. also potentially producing bugs? heh. the screen.c focus fallback code doesn't seem to need special cases anymore, which is really good, if that is really the case. move the focus_tried stuff out of event.c into focus.c, where it seems to belong.
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 8428be6b..208024cf 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -466,11 +466,6 @@ void client_manage(Window window)
*/
client_show(self);
- /* use client_focus instead of client_activate cuz client_activate does
- stuff like switch desktops etc and I'm not interested in all that when
- a window maps since its not based on an action from the user like
- clicking a window to activate it. so keep the new window out of the way
- but do focus it. */
if (activate) {
gboolean stacked = client_restore_session_stacking(self);
client_present(self, FALSE, !stacked);