Annotation of /trunk/tigervnc/patches/tigervnc-1.3.0-setcursor-crash.patch
Parent Directory | Revision Log
Revision 2252 -
(hide annotations)
(download)
Mon Aug 12 09:25:56 2013 UTC (11 years, 1 month ago) by niro
File size: 595 byte(s)
Mon Aug 12 09:25:56 2013 UTC (11 years, 1 month ago) by niro
File size: 595 byte(s)
-add patches for 1.3.0
1 | niro | 2252 | diff -up tigervnc-1.2.80-20130314svn5065/unix/xserver/hw/vnc/XserverDesktop.cc.jx tigervnc-1.2.80-20130314svn5065/unix/xserver/hw/vnc/XserverDesktop.cc |
2 | --- tigervnc-1.2.80-20130314svn5065/unix/xserver/hw/vnc/XserverDesktop.cc.jx 2012-08-27 09:02:47.000000000 -0400 | ||
3 | +++ tigervnc-1.2.80-20130314svn5065/unix/xserver/hw/vnc/XserverDesktop.cc 2013-06-17 09:42:14.310725996 -0400 | ||
4 | @@ -479,6 +479,9 @@ void XserverDesktop::setCursor(CursorPtr | ||
5 | } | ||
6 | } else { | ||
7 | #endif | ||
8 | + if (!cmap) | ||
9 | + return; | ||
10 | + | ||
11 | xColorItem fg, bg; | ||
12 | fg.red = cursor->foreRed; | ||
13 | fg.green = cursor->foreGreen; |