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/dock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/dock.c') diff --git a/openbox/dock.c b/openbox/dock.c index 12985fb7..08f65139 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -91,7 +91,7 @@ void dock_add(Window win, XWMHints *wmhints) member set the root window, and one set to the client, but both get handled and need to be ignored. */ - if (ob_state == State_Starting) + if (ob_state == OB_STATE_STARTING) app->ignore_unmaps += 2; if (app->win != app->icon_win) { @@ -109,7 +109,7 @@ void dock_add(Window win, XWMHints *wmhints) grab_button_full(2, 0, app->icon_win, ButtonPressMask | ButtonReleaseMask | ButtonMotionMask, - GrabModeAsync, ob_cursors.move); + GrabModeAsync, OB_CURSOR_MOVE); g_hash_table_insert(window_map, &app->icon_win, app); -- cgit v1.2.3