kwindowsystem-x11.diff 2.32 KB
Newer Older
1
diff --git a/src/kstartupinfo.cpp b/src/kstartupinfo.cpp
2
index 76ab3be..014ab36 100644
3 4
--- a/src/kstartupinfo.cpp
+++ b/src/kstartupinfo.cpp
5
@@ -490,7 +490,7 @@ bool KStartupInfo::sendStartupX(Display *disp_P, const KStartupInfoId &id_P,
6 7 8 9 10 11 12 13
 #ifdef KSTARTUPINFO_ALL_DEBUG
     qCDebug(LOG_KWINDOWSYSTEM) << "sending " << msg;
 #endif
-    return KXMessages::broadcastMessageX(disp_P, NET_STARTUP_MSG, msg);
+    return true; // KXMessages::broadcastMessageX(disp_P, NET_STARTUP_MSG, msg);
 #else
     Q_UNUSED(disp_P)
     Q_UNUSED(data_P)
14
@@ -565,7 +565,7 @@ bool KStartupInfo::sendChangeX(Display *disp_P, const KStartupInfoId &id_P,
15 16 17 18 19 20 21 22
 #ifdef KSTARTUPINFO_ALL_DEBUG
     qCDebug(LOG_KWINDOWSYSTEM) << "sending " << msg;
 #endif
-    return KXMessages::broadcastMessageX(disp_P, NET_STARTUP_MSG, msg);
+    return true; //KXMessages::broadcastMessageX(disp_P, NET_STARTUP_MSG, msg);
 #else
     Q_UNUSED(disp_P)
     Q_UNUSED(data_P)
23
@@ -617,7 +617,7 @@ bool KStartupInfo::sendFinishX(Display *disp_P, const KStartupInfoId &id_P)
24 25 26 27 28 29 30 31
 #ifdef KSTARTUPINFO_ALL_DEBUG
     qCDebug(LOG_KWINDOWSYSTEM) << "sending " << msg;
 #endif
-    return KXMessages::broadcastMessageX(disp_P, NET_STARTUP_MSG, msg);
+    return true; //KXMessages::broadcastMessageX(disp_P, NET_STARTUP_MSG, msg);
 #else
     Q_UNUSED(disp_P)
     return true;
32
@@ -668,7 +668,7 @@ bool KStartupInfo::sendFinishX(Display *disp_P, const KStartupInfoId &id_P,
33 34 35 36 37 38 39 40 41
 #ifdef KSTARTUPINFO_ALL_DEBUG
     qCDebug(LOG_KWINDOWSYSTEM) << "sending " << msg;
 #endif
-    return KXMessages::broadcastMessageX(disp_P, NET_STARTUP_MSG, msg);
+    return true; //KXMessages::broadcastMessageX(disp_P, NET_STARTUP_MSG, msg);
 #else
     Q_UNUSED(disp_P)
     Q_UNUSED(id_P)
diff --git a/src/platforms/xcb/kwindowsystem.cpp b/src/platforms/xcb/kwindowsystem.cpp
42
index 6789b7c..84b6d4c 100644
43 44
--- a/src/platforms/xcb/kwindowsystem.cpp
+++ b/src/platforms/xcb/kwindowsystem.cpp
45
@@ -234,7 +234,7 @@ bool NETEventFilter::nativeEventFilter(xcb_generic_event_t *ev)
46 47 48 49 50 51 52 53
         int old_number_of_desktops = numberOfDesktops();
         bool old_showing_desktop = showingDesktop();
         unsigned long m[ 5 ];
-        NETRootInfo::event(ev, m, 5);
+        //NETRootInfo::event(ev, m, 5);
 
         if ((m[ PROTOCOLS ] & CurrentDesktop) && currentDesktop() != old_current_desktop) {
             emit s_q->currentDesktopChanged(currentDesktop());