From 276b2be581c6cb138b439537761ff2ca42201805 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Jul 2003 06:18:47 +0000 Subject: 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. --- openbox/focus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/focus.c') 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); } -- cgit v1.2.3