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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/systemtray/protocols/fdo
From:       Jason Stubbs <jasonbstubbs () gmail ! com>
Date:       2008-11-12 4:00:00
Message-ID: 1226462400.666054.2055.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 883081 by jstubbs:

The window needs to be cleared as well as sending the expose event for qt3,
gtk and other "normal" systray implementations to repaint properly. It turns
out that Qt4 paints the entire window.


 M  +1 -13     x11embedcontainer.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/systemtray/protocols/fdo/x11embedcontainer.cpp \
#883080:883081 @@ -224,19 +224,7 @@
     XRenderFreePicture(display, picture);
     XFreePixmap(display, bg);
 
-    XExposeEvent expose;
-    expose.type = Expose;
-    expose.serial = 0;
-    expose.send_event = True;
-    expose.display = display;
-    expose.window = clientWinId();
-    expose.x = 0;
-    expose.y = 0;
-    expose.width = width();
-    expose.height = height();
-    expose.count = 0;
-
-    XSendEvent(display, clientWinId(), True, 0, (XEvent*)&expose);
+    XClearArea(display, clientWinId(), 0, 0, 0, 0, True);
 }
 
 


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

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