summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 6177bc9a..0285f40d 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -94,7 +94,7 @@ void focus_set_client(ObClient *client)
push_to_top(client);
/* set the NET_ACTIVE_WINDOW hint, but preserve it on shutdown */
- if (ob_state != OB_STATE_EXITING) {
+ if (ob_state() != OB_STATE_EXITING) {
active = client ? client->window : None;
PROP_SET32(RootWindow(ob_display, ob_screen),
net_active_window, window, active);