Hello,

here is a patch for x11/windowmaker to backport the following commit
from the upstream git repository.

<http://repo.or.cz/w/wmaker-crm.git/commit/7490b14bf0573283cd11eea3b1b6392c6f38e2dd>

Regards,
Christian


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/windowmaker/Makefile,v
retrieving revision 1.88
diff -u -p -r1.88 Makefile
--- Makefile    4 Jun 2013 18:42:00 -0000       1.88
+++ Makefile    17 Jul 2013 21:45:59 -0000
@@ -6,7 +6,7 @@ COMMENT-lang=           language subpackage for W
 V=                     0.92.0
 DISTNAME=              WindowMaker-${V}
 PKGNAME-main=          ${DISTNAME:L}
-REVISION-main=         13
+REVISION-main=         14
 FULLPKGNAME-lang=       windowmaker-lang-${V}
 REVISION-lang=         3
 SHARED_LIBS=           wraster 5.0
Index: patches/patch-src_actions_c
===================================================================
RCS file: /cvs/ports/x11/windowmaker/patches/patch-src_actions_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-src_actions_c
--- patches/patch-src_actions_c 17 Mar 2012 17:32:28 -0000      1.3
+++ patches/patch-src_actions_c 17 Jul 2013 21:45:59 -0000
@@ -1,11 +1,17 @@
 $OpenBSD: patch-src_actions_c,v 1.3 2012/03/17 17:32:28 dcoppa Exp $

-This is a backport from WindowMaker cvs which fixes the
+Backported bug fixes.
+
+1. Backport from WindowMaker cvs which fixes the
 "periodic focus bug" described at:
 
http://repo.or.cz/w/wmaker-crm.git/commitdiff/c91bb1ba1360006c568db37438779e525868cf17

---- src/actions.c.orig Fri Mar 16 17:10:27 2012
-+++ src/actions.c      Fri Mar 16 17:11:57 2012
+2. Backport from WindowMaker git.
+SHA1 ID: 7490b14bf0573283cd11eea3b1b6392c6f38e2dd
+Bugfix: java menu problem after resize, maximize
+
+--- src/actions.c.orig Sun Jul  3 19:25:14 2005
++++ src/actions.c      Wed Jul 17 23:20:47 2013
 @@ -78,6 +78,15 @@ static struct {
  #define SHADE_STEPS   shadePars[(int)wPreferences.shade_speed].steps
  #define SHADE_DELAY   shadePars[(int)wPreferences.shade_speed].delay
@@ -36,3 +42,21 @@ http://repo.or.cz/w/wmaker-crm.git/commi
          return;

      if (!old_scr)
+@@ -463,8 +472,8 @@ wMaximizeWindow(WWindow *wwin, int directions)
+                     &new_width, &new_height);
+
+     wWindowConfigure(wwin, new_x, new_y, new_width, new_height);
++    wWindowSynthConfigureNotify(wwin);
+
+-
+     WMPostNotificationName(WMNChangedState, wwin, "maximize");
+
+     wSoundPlay(WSOUND_MAXIMIZE);
+@@ -494,6 +503,7 @@ wUnmaximizeWindow(WWindow *wwin)
+
+     wwin->flags.maximized = 0;
+     wWindowConfigure(wwin, x, y, w, h);
++    wWindowSynthConfigureNotify(wwin);
+
+     WMPostNotificationName(WMNChangedState, wwin, "maximize");
+
Index: patches/patch-src_moveres_c
===================================================================
RCS file: patches/patch-src_moveres_c
diff -N patches/patch-src_moveres_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_moveres_c 17 Jul 2013 21:45:59 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+Backported bug fixes.
+
+1. Backport from WindowMaker git.
+SHA1 ID: 7490b14bf0573283cd11eea3b1b6392c6f38e2dd
+Bugfix: java menu problem after resize, maximize
+
+--- src/moveres.c.orig Wed Jul 17 23:21:12 2013
++++ src/moveres.c      Wed Jul 17 23:23:43 2013
+@@ -2190,6 +2190,7 @@ wMouseResizeWindow(WWindow *wwin, XEvent *ev)
+                     wwin->flags.user_changed_height = 1;
+
+                 wWindowConfigure(wwin, fx, fy, fw, fh - vert_border);
++                wWindowSynthConfigureNotify(wwin);
+             }
+ #ifdef DEBUG
+             puts("End resize window");




Reply via email to