public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-plugins/wmfire/files: wmfire-1.2.4-no_display.patch
@ 2010-06-28 22:00 Bernard Cafarelli (voyageur)
  0 siblings, 0 replies; only message in thread
From: Bernard Cafarelli (voyageur) @ 2010-06-28 22:00 UTC (permalink / raw
  To: gentoo-commits

voyageur    10/06/28 22:00:04

  Added:                wmfire-1.2.4-no_display.patch
  Log:
  Fix support with gtk+ >= 2.18, bug #304087
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch?rev=1.1&content-type=text/plain

Index: wmfire-1.2.4-no_display.patch
===================================================================
--- src/wmfire.c.orig	2010-06-28 23:53:35.000000000 +0200
+++ src/wmfire.c	2010-06-28 23:54:35.000000000 +0200
@@ -150,6 +150,8 @@
 int
 main(int argc, char **argv)
 {
+	/* This is needed to proper dockapp work on >=GTK+-2.18 */
+	setenv("GDK_NATIVE_WINDOWS", "1", 0);
 	GdkEvent *event;
 	GdkCursor *cursor;
 	int i;
@@ -632,6 +634,7 @@
 
 	/* Moved after gdk_window_show due to change in GTK 2.4 */
 	XSetWMHints(GDK_WINDOW_XDISPLAY(bm.win), win, &wmhints);
+	gdk_window_show(bm.iconwin);
 
 	if (bm.x > 0 || bm.y > 0)
 		gdk_window_move(bm.win, bm.x, bm.y);






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-28 22:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-28 22:00 [gentoo-commits] gentoo-x86 commit in x11-plugins/wmfire/files: wmfire-1.2.4-no_display.patch Bernard Cafarelli (voyageur)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox