hilite the focus target before xsyncing in the ignore enter stuff, so less flicker

This commit is contained in:
Dana Jansens 2007-04-22 16:49:13 +00:00
parent 037654f3f8
commit 65f29b245d

View file

@ -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)