]> Dogcows Code - chaz/openbox/commitdiff
for startup notification, use the left ptr+watch if it is available, and fall back...
authorDana Jansens <danakj@orodu.net>
Sat, 19 May 2007 21:49:45 +0000 (21:49 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 19 May 2007 21:49:45 +0000 (21:49 +0000)
openbox/misc.h
openbox/openbox.c
openbox/screen.c

index 1da94b3411a3a815f1f3244d28094ea4846d61f1..f55feed94e47799bb0fbdc6c6361e5f58dfbd672 100644 (file)
@@ -23,6 +23,7 @@ typedef enum
 {
     OB_CURSOR_NONE,
     OB_CURSOR_POINTER,
+    OB_CURSOR_BUSYPOINTER,
     OB_CURSOR_BUSY,
     OB_CURSOR_MOVE,
     OB_CURSOR_NORTH,
index 996cb227febcd9394d2f9e36b2011662a2ae7e6e..7270379e47923e2be1ec5bcc271fcd43dcf36e36 100644 (file)
@@ -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",
index 6551da81f0405fd333145405ae4b57aa4cdccd0d..4ad46af738c79135dd8118b28c633a88ac1b0e2f 100644 (file)
@@ -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));
This page took 0.025415 seconds and 4 git commands to generate.