aboutsummaryrefslogtreecommitdiffstats
path: root/x11/stalonetray/files/patch-src__main.c
blob: 6e7a13fbbfc681e3174bd643c22c8df361cec721 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/main.c.orig 2009-10-21 23:07:11.000000000 +0900
+++ src/main.c  2010-01-21 01:15:42.000000000 +0900
@@ -323,9 +323,13 @@
 #endif
    /* React on WM (re)starts */
    if (ev.atom == XInternAtom(tray_data.dpy, _NET_SUPPORTING_WM_CHECK, False)) {
+#ifdef DEBUG
        ewmh_list_supported_atoms(tray_data.dpy);
+#endif
        tray_set_wm_hints();
+#ifndef NO_NATIVE_KDE
        kde_tray_update_fallback_mode(tray_data.dpy);
+#endif
    }
    /* React on _XEMBED_INFO changes of embedded icons
     * (currently used to track icon visibility status) */