summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-10 06:18:47 +0000
committerDana Jansens <danakj@orodu.net>2003-07-10 06:18:47 +0000
commit276b2be581c6cb138b439537761ff2ca42201805 (patch)
tree753038e7990b881a2bc0e525fab1ebc45b2523e3 /openbox/focus.c
parent6357583c396382dd6ed8ac42004177f204fabe62 (diff)
add misc.h with some standard enumerations with proper prefixing and capitalizations.
use the new enums throughout. provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.
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 12d30d27..8d5e6c54 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -111,7 +111,7 @@ void focus_set_client(Client *client)
push_to_top(client);
/* set the NET_ACTIVE_WINDOW hint, but preserve it on shutdown */
- if (ob_state != State_Exiting) {
+ if (ob_state != OB_STATE_EXITING) {
active = client ? client->window : None;
PROP_SET32(ob_root, net_active_window, window, active);
}