diff options
author | Timothy Pearson <[email protected]> | 2014-10-06 12:16:27 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-10-06 12:16:27 -0500 |
commit | ecd088049d4aa2e8262f4cc1e0ac45e135964229 (patch) | |
tree | 49ed22e9e7852fd3f26854aecf41c96169d59629 /redhat/tdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch | |
parent | 855439d3f99b0c152c33ae76a06cce9853f9b8dd (diff) | |
parent | 01a7863524342e1aec31679e55d08830cc571066 (diff) | |
download | tde-packaging-ecd088049d4aa2e8262f4cc1e0ac45e135964229.tar.gz tde-packaging-ecd088049d4aa2e8262f4cc1e0ac45e135964229.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/tdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch')
-rw-r--r-- | redhat/tdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/redhat/tdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch b/redhat/tdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch deleted file mode 100644 index e17ae11b5..000000000 --- a/redhat/tdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch +++ /dev/null @@ -1,51 +0,0 @@ -Index: krandrapp.cpp -=================================================================== ---- kcontrol/randr/krandrapp.cpp (revision 1261452) -+++ kcontrol/randr/krandrapp.cpp (working copy) -@@ -28,13 +28,20 @@ - KRandRApp::KRandRApp() - : m_tray(new KRandRSystemTray(0L, "RANDRTray")) - { -+ connect(&m_eventMergingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(handleX11ConfigChangeEvent())); - m_tray->show(); - } - -+void KRandRApp::handleX11ConfigChangeEvent() -+{ -+ m_eventMergingTimer.stop(); -+ m_tray->configChanged(); -+} -+ - bool KRandRApp::x11EventFilter(XEvent* e) - { - if (e->type == m_tray->screenChangeNotifyEvent()) { -- m_tray->configChanged(); -+ m_eventMergingTimer.start(1000, TRUE); - } - return KApplication::x11EventFilter( e ); - } -Index: krandrapp.h -=================================================================== ---- kcontrol/randr/krandrapp.h (revision 1261452) -+++ kcontrol/randr/krandrapp.h (working copy) -@@ -19,6 +19,7 @@ - #ifndef KRANDRAPP_H - #define KRANDRAPP_H - -+#include <tqtimer.h> - #include <kuniqueapplication.h> - - class KRandRSystemTray; -@@ -32,8 +33,12 @@ - - virtual bool x11EventFilter(XEvent * e); - -+private slots: -+ void handleX11ConfigChangeEvent(); -+ - private: - KRandRSystemTray* m_tray; -+ TQTimer m_eventMergingTimer; - }; - - #endif |