forked from pool/xorg-x11-server
Egbert Eich
a2b50f1252
These are supposed to overrule the ones provided by glibc. Unfortunately this doesn't seem to work under all circumstances. Therefore use inX/outX_ia64 and set appropriate defines. - Fix SIG11 on VT switch when using SW cursor with RandR (bnc #592614). OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=247
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];
|