[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [PATCH] Xcursor Patch ( Was Re: QT 3.2b :-( )
From:       "ismail (cartman) donmez" <voidcartman () yahoo ! com>
Date:       2003-05-18 9:09:44
[Download RAW message or body]

Andras Mantia wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
>   This 3.2beta release slowly turns me mad. I experience crashes in many
> applications, applications that were working before. I have also updated
> almost all KDE modules today, but I don't believe that they become so
> unstable in the last one/two weeks. The main problems now are:
> 1. KWin crashes when you click on the context help icon (the ? mark in the
> titlebar). See kwin_bt.txt for the BT.

Patch attached but whitespace cleaning needed.

-- 
Brain fried -- Core dumped 

["xcursor.patch" (text/x-diff)]

Index: qt-copy/src/kernel/qcursor_x11.cpp
===================================================================
RCS file: /home/kde/qt-copy/src/kernel/qcursor_x11.cpp,v
retrieving revision 1.51
diff -u -p -u -r1.51 qcursor_x11.cpp
--- qt-copy/src/kernel/qcursor_x11.cpp	16 May 2003 15:47:03 -0000	1.51
+++ qt-copy/src/kernel/qcursor_x11.cpp	18 May 2003 09:08:21 -0000
@@ -510,8 +510,8 @@ void QCursor::update() const
 	"forbidden",
 	"whats_this"
     };
-
-    d->hcurs = XcursorLibraryLoadCursor( dpy, cursorNames[d->cshape] );
+    if ( cursorNames[d->cshape] )
+    	d->hcurs = XcursorLibraryLoadCursor( dpy, cursorNames[d->cshape] );
     if ( d->hcurs )
 	return;
 #endif // QT_NO_XCURSOR


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic