diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2010-06-28 09:09:44 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2010-06-28 09:09:44 +0000 |
commit | a302a5749d28e6cb3e52be19cbd21b63bedec813 (patch) | |
tree | f9fbf9f7b928365428368eb5d27f3cdf7b03659e /x11-plugins/wmfishtime/files | |
parent | Version bump. No noteworthy changes. (diff) | |
download | gentoo-2-a302a5749d28e6cb3e52be19cbd21b63bedec813.tar.gz gentoo-2-a302a5749d28e6cb3e52be19cbd21b63bedec813.tar.bz2 gentoo-2-a302a5749d28e6cb3e52be19cbd21b63bedec813.zip |
Fix support with gtk+ >= 2.18, bug #310779
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-plugins/wmfishtime/files')
-rw-r--r-- | x11-plugins/wmfishtime/files/wmfishtime-1.24-no_display.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-plugins/wmfishtime/files/wmfishtime-1.24-no_display.patch b/x11-plugins/wmfishtime/files/wmfishtime-1.24-no_display.patch new file mode 100644 index 000000000000..a991cdab934b --- /dev/null +++ b/x11-plugins/wmfishtime/files/wmfishtime-1.24-no_display.patch @@ -0,0 +1,19 @@ +--- fishmon.c.orig 2010-06-27 18:38:42.000000000 +0200 ++++ 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 */ |