aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/fvwm2-devel/files/patch-fvwm::icons.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/fvwm2-devel/files/patch-fvwm::icons.c')
-rw-r--r--x11-wm/fvwm2-devel/files/patch-fvwm::icons.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/x11-wm/fvwm2-devel/files/patch-fvwm::icons.c b/x11-wm/fvwm2-devel/files/patch-fvwm::icons.c
deleted file mode 100644
index 7d7884f4e073..000000000000
--- a/x11-wm/fvwm2-devel/files/patch-fvwm::icons.c
+++ /dev/null
@@ -1,36 +0,0 @@
---- fvwm/icons.c.orig Wed Mar 17 09:42:54 2004
-+++ fvwm/icons.c Tue Oct 19 16:13:55 2004
-@@ -2251,7 +2251,7 @@
- */
- void DeIconify(FvwmWindow *fw)
- {
-- FvwmWindow *t,*tmp;
-+ FvwmWindow *t, *tmp, *ofw;
- FvwmWindow *sf = get_focus_window();
- rectangle icon_rect;
- XWindowAttributes winattrs = {0};
-@@ -2276,15 +2276,18 @@
- SET_ICONIFY_AFTER_MAP(fw, 0);
- return;
- }
-- while (IS_ICONIFIED_BY_PARENT(fw))
-+ for (ofw = NULL; fw != ofw && IS_ICONIFIED_BY_PARENT(fw); )
- {
-- for (t = Scr.FvwmRoot.next; t != NULL; t = t->next)
-+ t = get_transientfor_fvwmwindow(fw);
-+ if (t != NULL)
- {
-- if (t != fw && FW_W_TRANSIENTFOR(fw) == FW_W(t))
-- {
-- fw = t;
-- }
-+ ofw = fw;
-+ fw = t;
- }
-+ }
-+ if (IS_ICONIFIED_BY_PARENT(fw))
-+ {
-+ SET_ICONIFIED_BY_PARENT(fw, 0);
- }
-
- /* AS dje RaiseWindow(fw); */