-ObClient *focus_client = NULL;
-GList **focus_order = NULL; /* these lists are created when screen_startup
- sets the number of desktops */
+ObClient *focus_client;
+GList **focus_order; /* these lists are created when screen_startup
+ sets the number of desktops */
/* reset focus to root */
XSetInputFocus(ob_display, PointerRoot, RevertToPointerRoot,
/* reset focus to root */
XSetInputFocus(ob_display, PointerRoot, RevertToPointerRoot,
/* use the transient's parent's title/icon */
while (p->transient_for && p->transient_for != OB_TRAN_GROUP)
/* use the transient's parent's title/icon */
while (p->transient_for && p->transient_for != OB_TRAN_GROUP)
}
ObClient *focus_cycle(gboolean forward, gboolean linear, gboolean done,
}
ObClient *focus_cycle(gboolean forward, gboolean linear, gboolean done,
(ft->desktop == screen_desktop || ft->desktop == DESKTOP_ALL))) {
if (ft != focus_cycle_target) { /* prevents flicker */
if (focus_cycle_target)
(ft->desktop == screen_desktop || ft->desktop == DESKTOP_ALL))) {
if (ft != focus_cycle_target) { /* prevents flicker */
if (focus_cycle_target)