summaryrefslogtreecommitdiffstats
path: root/client/myrootpixmap.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-12-01 02:25:47 -0600
committerTimothy Pearson <[email protected]>2014-12-01 02:25:47 -0600
commit80aec91d21bf675286b1a0869eeba19f9847e3ec (patch)
treed5bb01291f71a8cbcc9e1a553cf88ff291fc31f3 /client/myrootpixmap.h
parent8095005fe253b65fa87f48008db7560c7bc0eaac (diff)
downloadtwin-style-crystal-80aec91d21bf675286b1a0869eeba19f9847e3ec.tar.gz
twin-style-crystal-80aec91d21bf675286b1a0869eeba19f9847e3ec.zip
Fix broken task switching when transparency enabled
This resolves Bug 2220
Diffstat (limited to 'client/myrootpixmap.h')
-rw-r--r--client/myrootpixmap.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/client/myrootpixmap.h b/client/myrootpixmap.h
index 26ebc9c..7d8f0e8 100644
--- a/client/myrootpixmap.h
+++ b/client/myrootpixmap.h
@@ -25,10 +25,26 @@ class TQTimer;
class TDESharedPixmap;
class KMyRootPixmapData;
+class DesktopWallpaperWatcher : public TQWidget
+{
+ Q_OBJECT
+
+ public:
+ DesktopWallpaperWatcher();
+ ~DesktopWallpaperWatcher();
+
+ bool x11Event( XEvent * ev );
+
+ signals:
+ void currentDesktopChanged( int desktop);
+
+ private:
+ int m_old_current_desktop;
+};
+
class KMyRootPixmap: public TQObject
{
Q_OBJECT
-
public:
KMyRootPixmap( TQWidget *target=NULL, const char *name=0 );
@@ -91,7 +107,7 @@ private:
// TQWidget *m_pWidget;
// TQTimer *m_pTimer;
TDESharedPixmap *m_pPixmap;
- KMyRootPixmapData *d;
+ KMyRootPixmapData *d;
void init();
};