From 67b2fbdb5929eafce19c5a901aa18c857a48840b Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Tue, 11 Jun 2002 12:07:40 +0000 Subject: [PATCH] Set NET_* properties while the server is grabbed when framing clients (should make the framing faster). (Old svn revision: 10367) --- src/client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client.c b/src/client.c index 8e29268f8..2e1c026b1 100644 --- a/src/client.c +++ b/src/client.c @@ -1547,6 +1547,10 @@ void clientFrame(Window w) XSetWindowBorderWidth(dpy, c->window, 0); XReparentWindow(dpy, c->window, c->frame, frameLeft(c), frameTop(c)); + clientSetNetActions(c); + clientAddToList(c); + clientGrabKeys(c); + MyXUngrabServer(dpy); XGrabButton(dpy, AnyButton, AnyModifier, c->frame, False, ButtonPressMask, GrabModeSync, GrabModeAsync, None, None); @@ -1573,10 +1577,6 @@ void clientFrame(Window w) c->buttons[i] = XCreateSimpleWindow(dpy, c->frame, 0, 0, 1, 1, 0, 0, 0); } - clientSetNetActions(c); - clientAddToList(c); - clientGrabKeys(c); - wc.x = c->x; wc.y = c->y; wc.width = c->width; -- GitLab