diff options
author | Armando Di Cianno <fafhrd@gentoo.org> | 2005-06-23 22:01:34 +0000 |
---|---|---|
committer | Armando Di Cianno <fafhrd@gentoo.org> | 2005-06-23 22:01:34 +0000 |
commit | 302ec24e78351a0e2852c5a10a5e167ec62c6bd1 (patch) | |
tree | ae28e8a99335714158c47ce3f9f2482df3b27e93 /x11-wm/windowmaker/files | |
parent | Version bump, bug #91697. Release fixes bug #95524, #71353 and #63746. Fixed ... (diff) | |
download | historical-302ec24e78351a0e2852c5a10a5e167ec62c6bd1.tar.gz historical-302ec24e78351a0e2852c5a10a5e167ec62c6bd1.tar.bz2 historical-302ec24e78351a0e2852c5a10a5e167ec62c6bd1.zip |
Fixes for bug 71301 (regarding maximize/unmaximize issues)
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'x11-wm/windowmaker/files')
-rw-r--r-- | x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r7 | 3 | ||||
-rw-r--r-- | x11-wm/windowmaker/files/maximize-fix-0.9x.patch | 33 |
2 files changed, 36 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r7 b/x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r7 new file mode 100644 index 000000000000..df49129f367d --- /dev/null +++ b/x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r7 @@ -0,0 +1,3 @@ +MD5 be07953e905d1e42fe7a65ac2193a5f9 WindowMaker-0.91.0.tar.gz 2742380 +MD5 07c7700daaaf232bc490f5abaabef085 WindowMaker-extra-0.1.tar.gz 238018 +MD5 5de4e8a41f5d73280b4f4287e90af4b5 windowmaker-0.9X-use-giflib.patch3.bz2 102552 diff --git a/x11-wm/windowmaker/files/maximize-fix-0.9x.patch b/x11-wm/windowmaker/files/maximize-fix-0.9x.patch new file mode 100644 index 000000000000..553b05c1ffb3 --- /dev/null +++ b/x11-wm/windowmaker/files/maximize-fix-0.9x.patch @@ -0,0 +1,33 @@ +--- WindowMaker-0.91.0/src/actions.c_old 2005-06-12 15:37:16.000000000 +0200 ++++ WindowMaker-0.91.0/src/actions.c 2005-06-12 15:38:44.000000000 +0200 +@@ -474,7 +474,7 @@ + void + wUnmaximizeWindow(WWindow *wwin) + { +- int restore_x, restore_y; ++ int x, y, w, h; + + if (!wwin->flags.maximized) + return; +@@ -483,13 +483,17 @@ + wwin->flags.skip_next_animation = 1; + wUnshadeWindow(wwin); + } +- restore_x = (wwin->flags.maximized & MAX_HORIZONTAL) ? ++ x = ((wwin->flags.maximized & MAX_HORIZONTAL) && wwin->old_geometry.x) ? + wwin->old_geometry.x : wwin->frame_x; +- restore_y = (wwin->flags.maximized & MAX_VERTICAL) ? ++ y = ((wwin->flags.maximized & MAX_VERTICAL) && wwin->old_geometry.y) ? + wwin->old_geometry.y : wwin->frame_y; ++ w = wwin->old_geometry.width ? ++ wwin->old_geometry.width : wwin->client.width; ++ h = wwin->old_geometry.height ? ++ wwin->old_geometry.height : wwin->client.height; ++ + wwin->flags.maximized = 0; +- wWindowConfigure(wwin, restore_x, restore_y, +- wwin->old_geometry.width, wwin->old_geometry.height); ++ wWindowConfigure(wwin, x, y, w, h); + + WMPostNotificationName(WMNChangedState, wwin, "maximize"); + |