summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-22 16:49:13 +0000
committerDana Jansens <danakj@orodu.net>2007-04-22 16:49:13 +0000
commit65f29b245d5d069590f494ff642fbeae0c87d801 (patch)
treefce91e13e0101165912f48d5402f47fa8ddec084
parent037654f3f89dcf07aba1b49b9f03a8187adeaa73 (diff)
hilite the focus target before xsyncing in the ignore enter stuff, so less flicker
-rw-r--r--openbox/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 2d34f263..c6a6b0e5 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -459,8 +459,6 @@ void screen_set_desktop(guint num)
}
}
- event_ignore_queued_enters();
-
focus_hilite = focus_fallback_target(TRUE, focus_client);
if (focus_hilite) {
frame_adjust_focus(focus_hilite->frame, TRUE);
@@ -474,6 +472,8 @@ void screen_set_desktop(guint num)
/*if (!focus_client)*/
client_focus(focus_hilite);
}
+
+ event_ignore_queued_enters();
}
static void get_row_col(guint d, guint *r, guint *c)