forked from pool/xorg-x11-server
a71d142831
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=670e6cd854bd869c4d3ca28ff7e5d8aa
14 lines
612 B
Diff
14 lines
612 B
Diff
Index: xorg-server-1.8.0/hw/xfree86/modes/xf86Cursors.c
|
|
===================================================================
|
|
--- xorg-server-1.8.0.orig/hw/xfree86/modes/xf86Cursors.c
|
|
+++ xorg-server-1.8.0/hw/xfree86/modes/xf86Cursors.c
|
|
@@ -611,7 +611,7 @@ xf86_reload_cursors (ScreenPtr screen)
|
|
cursor_screen_priv = dixLookupPrivate(&screen->devPrivates,
|
|
xf86CursorScreenKey);
|
|
/* return if HW cursor is inactive, to avoid displaying two cursors */
|
|
- if (!cursor_screen_priv->isUp)
|
|
+ if (!cursor_screen_priv || !cursor_screen_priv->isUp)
|
|
return;
|
|
|
|
scrn = xf86Screens[screen->myNum];
|