summaryrefslogtreecommitdiff
blob: 8ae99b049f697ba66ba284dc4b7c7255f3bc7f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/fishmon.c	2010-06-27 18:38:42.000000000 +0200
+++ b/fishmon.c	2010-06-27 18:40:56.000000000 +0200
@@ -152,6 +152,8 @@
 
 int main(int argc, char **argv)
 {
+    /* This is needed to proper dockapp work on >=GTK+-2.18 */
+    setenv("GDK_NATIVE_WINDOWS", "1", 0);
     int ch;
     GdkEvent *event;
 #ifdef PRO
@@ -694,6 +696,7 @@
     gdk_window_show(bm.win);
 
     XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
+    gdk_window_show(bm.iconwin);
 
 #undef MASK
 }				/* make_new_fishmon_dockapp */