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

List:       kde-commits
Subject:    kdebase/klipper
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-12-01 14:39:47
[Download RAW message or body]

CVS commit by lunakl: 

I can't even write workarounds for my own bugs correctly :(. Handle properly
the fact that current Qt uses incorrect type for TIMESTAMP target.


  M +2 -2      clipboardpoll.cpp   1.5


--- kdebase/klipper/clipboardpoll.cpp  #1.4:1.5
@@ -153,6 +153,6 @@ bool ClipboardPoll::checkTimestamp( Sele
             unsigned char* prop = NULL;
             if( XGetWindowProperty( qt_xdisplay(), winId(), ev.xselection.property, 0, 1, False,
-                XA_INTEGER, &type, &format, &nitems, &after, &prop ) != Success
-//                || type != XA_INTEGER - I did such a lame mistake :( Qt sets xa_timestamp here
+                AnyPropertyType, &type, &format, &nitems, &after, &prop ) != Success
+//                || type != XA_INTEGER - I did such a lame mistake :( Qt uses TIMESTAMP as the type
                 || format != 32 || nitems != 1 || prop == NULL )
             {


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

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