summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-26 20:12:39 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:54 -0500
commite2ddfaf9fff1fb9dd6ebdc1a95f2b228d6baedb2 (patch)
tree2cd2c9d4dc7543aaa0ce3f959af539212cedfaaf /openbox/focus.c
parent6c8acc079a9cbb40245e5df4b50b3f8b9c17cf83 (diff)
s/ob_display/obt_display/ and remove ob_display
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index a4eb2cfa..0d6af4ee 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -52,7 +52,7 @@ void focus_shutdown(gboolean reconfig)
if (reconfig) return;
/* reset focus to root */
- XSetInputFocus(ob_display, PointerRoot, RevertToNone, CurrentTime);
+ XSetInputFocus(obt_display, PointerRoot, RevertToNone, CurrentTime);
}
static void push_to_top(ObClient *client)
@@ -91,7 +91,7 @@ void focus_set_client(ObClient *client)
/* set the NET_ACTIVE_WINDOW hint, but preserve it on shutdown */
if (ob_state() != OB_STATE_EXITING) {
active = client ? client->window : None;
- PROP_SET32(RootWindow(ob_display, ob_screen),
+ PROP_SET32(RootWindow(obt_display, ob_screen),
net_active_window, window, active);
}
}
@@ -199,7 +199,7 @@ void focus_nothing(void)
event_cancel_all_key_grabs();
/* when nothing will be focused, send focus to the backup target */
- XSetInputFocus(ob_display, screen_support_win, RevertToPointerRoot,
+ XSetInputFocus(obt_display, screen_support_win, RevertToPointerRoot,
event_curtime);
}