openbsd-ports/plan9/9wm/patches/patch-menu_c
2011-07-08 09:44:02 +00:00

22 lines
547 B
Plaintext

$OpenBSD: patch-menu_c,v 1.1 2011/07/08 09:44:02 jasper Exp $
--- menu.c.orig Fri Jul 8 11:42:53 2011
+++ menu.c Fri Jul 8 11:42:53 2011
@@ -191,7 +191,7 @@ Client *c;
}
XUnmapWindow(dpy, c->parent);
XUnmapWindow(dpy, c->window);
- setstate(c, IconicState);
+ _setstate(c, IconicState);
if (c == current)
nofocus();
hiddenc[numhidden] = c;
@@ -222,7 +222,7 @@ int map;
if (map) {
XMapWindow(dpy, c->window);
XMapRaised(dpy, c->parent);
- setstate(c, NormalState);
+ _setstate(c, NormalState);
active(c);
top(c);
}