diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-04-18 01:56:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-04-18 01:56:34 +0000 |
commit | 2f3e71bfb99194163418662d6324a2a2f4545e70 (patch) | |
tree | 6413b6526463cd41f581c011c2938df7becbaf43 /kcontrol/randr/krandrtray.h | |
parent | 1ea91382019a50de2d32be86110533e133a6c703 (diff) | |
download | tdebase-2f3e71bfb99194163418662d6324a2a2f4545e70.tar.gz tdebase-2f3e71bfb99194163418662d6324a2a2f4545e70.zip |
Fixed screen switching (worked around Qt bug)
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1115935 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/randr/krandrtray.h')
-rw-r--r-- | kcontrol/randr/krandrtray.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kcontrol/randr/krandrtray.h b/kcontrol/randr/krandrtray.h index 9387f8cad..9ce8fe993 100644 --- a/kcontrol/randr/krandrtray.h +++ b/kcontrol/randr/krandrtray.h @@ -43,6 +43,9 @@ public: void configChanged(); +signals: + void screenSizeChanged(int x, int y); + protected slots: void slotScreenActivated(); void slotResolutionChanged(int parameter); @@ -61,6 +64,7 @@ private: void populateMenu(KPopupMenu* menu); void addOutputMenu(KPopupMenu* menu); int GetDefaultResolutionParameter(); + int GetHackResolutionParameter(); void findPrimaryDisplay(); bool m_popupUp; @@ -70,6 +74,9 @@ private: Display *randr_display; ScreenInfo *randr_screen_info; QWidget* my_parent; + + int last_known_x; + int last_known_y; }; #endif |