diff options
Diffstat (limited to 'x11-wm/twm/files/patch-src_add__window.c')
-rw-r--r-- | x11-wm/twm/files/patch-src_add__window.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-wm/twm/files/patch-src_add__window.c b/x11-wm/twm/files/patch-src_add__window.c new file mode 100644 index 000000000000..c0fc55446d57 --- /dev/null +++ b/x11-wm/twm/files/patch-src_add__window.c @@ -0,0 +1,12 @@ +--- src/add_window.c.orig 2020-06-14 23:58:19 UTC ++++ src/add_window.c +@@ -238,6 +238,9 @@ AddWindow(Window w, int iconm, IconMgr *iconp) + + tmp_win->wmhints = XGetWMHints(dpy, tmp_win->w); + ++ if (!tmp_win->wmhints) { ++ tmp_win->wmhints = gen_synthetic_wmhints(tmp_win); ++ } + if (tmp_win->wmhints) { + if (restore_iconified) { + tmp_win->wmhints->initial_state = IconicState; |