return the old cursor. oops
authorDana Jansens <danakj@orodu.net>
Sun, 25 Mar 2007 17:11:50 +0000 (17:11 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 25 Mar 2007 17:11:50 +0000 (17:11 +0000)
openbox/openbox.c

index c24ed76..5c4905e 100644 (file)
@@ -445,7 +445,7 @@ static Cursor load_cursor(const gchar *name, guint fontval)
     c = XcursorLibraryLoadCursor(ob_display, name);
 #endif
     if (c == None)
-        XCreateFontCursor(ob_display, fontval);
+        c = XCreateFontCursor(ob_display, fontval);
     return c;
 }