summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/openbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index c24ed76a..5c4905ee 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -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;
}