aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Slit.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 843efaf..c7da522 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Slit.cc,v 1.49 2003/05/11 17:42:51 fluxgen Exp $ 25// $Id: Slit.cc,v 1.50 2003/05/11 19:01:09 fluxgen Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -934,7 +934,7 @@ void Slit::handleEvent(XEvent &event) {
934 Display *disp = FbTk::App::instance()->display(); 934 Display *disp = FbTk::App::instance()->display();
935 // Check if KDE v2.x dock applet 935 // Check if KDE v2.x dock applet
936 if (XGetWindowProperty(disp, event.xmaprequest.window, 936 if (XGetWindowProperty(disp, event.xmaprequest.window,
937 kwm2_dockwindow, 0l, 1l, False, 937 m_kwm2_dockwindow, 0l, 1l, False,
938 XA_WINDOW, &ajunk, &ijunk, &uljunk, 938 XA_WINDOW, &ajunk, &ijunk, &uljunk,
939 &uljunk, (unsigned char **) &data) == Success) { 939 &uljunk, (unsigned char **) &data) == Success) {
940 940
@@ -947,8 +947,8 @@ void Slit::handleEvent(XEvent &event) {
947 // Check if KDE v1.x dock applet 947 // Check if KDE v1.x dock applet
948 if (!iskdedockapp) { 948 if (!iskdedockapp) {
949 if (XGetWindowProperty(disp, event.xmaprequest.window, 949 if (XGetWindowProperty(disp, event.xmaprequest.window,
950 kwm1_dockwindow, 0l, 1l, False, 950 m_kwm1_dockwindow, 0l, 1l, False,
951 kwm1_dockwindow, &ajunk, &ijunk, &uljunk, 951 m_kwm1_dockwindow, &ajunk, &ijunk, &uljunk,
952 &uljunk, (unsigned char **) &data) == Success) { 952 &uljunk, (unsigned char **) &data) == Success) {
953 iskdedockapp = (data && data[0] != 0); 953 iskdedockapp = (data && data[0] != 0);
954 XFree((char *) data); 954 XFree((char *) data);