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

31 lines
713 B
Plaintext

$OpenBSD: patch-manage_c,v 1.1 2011/07/08 09:44:02 jasper Exp $
--- manage.c.orig Fri Jul 8 11:42:53 2011
+++ manage.c Fri Jul 8 11:42:53 2011
@@ -135,7 +135,7 @@ int mapped;
active(c);
else
setactive(c, 0);
- setstate(c, NormalState);
+ _setstate(c, NormalState);
}
if (current && (current != c))
cmapfocus(current);
@@ -195,7 +195,7 @@ Client *c;
XReparentWindow(dpy, c->window, c->screen->root, c->x, c->y);
gravitate(c, 0);
XRemoveFromSaveSet(dpy, c->window);
- setstate(c, WithdrawnState);
+ _setstate(c, WithdrawnState);
/* flush any errors */
ignore_badwindow = 1;
@@ -452,7 +452,7 @@ Atom a;
}
void
-setstate(c, state)
+_setstate(c, state)
Client *c;
int state;
{