diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-19 21:49:45 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-19 21:49:45 +0000 |
| commit | ed4d0ca31a9c1c6c815cb87a058bb1d36a0888c1 (patch) | |
| tree | 5d4a2bf9c37fbc9a091012d05a3485bb6dac15b6 /openbox | |
| parent | 9014cf7c4e2a8ca5ccb9735f2b75438433130d13 (diff) | |
for startup notification, use the left ptr+watch if it is available, and fall back to the pointer instead of the unusable watch if its not
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/misc.h | 1 | ||||
| -rw-r--r-- | openbox/openbox.c | 3 | ||||
| -rw-r--r-- | openbox/screen.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/openbox/misc.h b/openbox/misc.h index 1da94b34..f55feed9 100644 --- a/openbox/misc.h +++ b/openbox/misc.h @@ -23,6 +23,7 @@ typedef enum { OB_CURSOR_NONE, OB_CURSOR_POINTER, + OB_CURSOR_BUSYPOINTER, OB_CURSOR_BUSY, OB_CURSOR_MOVE, OB_CURSOR_NORTH, diff --git a/openbox/openbox.c b/openbox/openbox.c index 996cb227..7270379e 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -196,7 +196,8 @@ gint main(gint argc, gchar **argv) /* create available cursors */ cursors[OB_CURSOR_NONE] = None; cursors[OB_CURSOR_POINTER] = load_cursor("left_ptr", XC_left_ptr); - cursors[OB_CURSOR_BUSY] = load_cursor("left_ptr_watch", XC_watch); + cursors[OB_CURSOR_BUSYPOINTER] = load_cursor("left_ptr_watch",XC_left_ptr); + cursors[OB_CURSOR_BUSY] = load_cursor("watch", XC_watch); cursors[OB_CURSOR_MOVE] = load_cursor("fleur", XC_fleur); cursors[OB_CURSOR_NORTH] = load_cursor("top_side", XC_top_side); cursors[OB_CURSOR_NORTHEAST] = load_cursor("top_right_corner", diff --git a/openbox/screen.c b/openbox/screen.c index 6551da81..4ad46af7 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -1270,7 +1270,7 @@ void screen_set_root_cursor() { if (sn_app_starting()) XDefineCursor(ob_display, RootWindow(ob_display, ob_screen), - ob_cursor(OB_CURSOR_BUSY)); + ob_cursor(OB_CURSOR_BUSYPOINTER)); else XDefineCursor(ob_display, RootWindow(ob_display, ob_screen), ob_cursor(OB_CURSOR_POINTER)); |
