diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-10 06:18:47 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-10 06:18:47 +0000 |
| commit | 276b2be581c6cb138b439537761ff2ca42201805 (patch) | |
| tree | 753038e7990b881a2bc0e525fab1ebc45b2523e3 /openbox/dock.c | |
| parent | 6357583c396382dd6ed8ac42004177f204fabe62 (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/dock.c')
| -rw-r--r-- | openbox/dock.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
