xiwm

simple window manager
git clone https://git.ce9e.org/xiwm.git

commit
960ae38f7625f023df1f61e2f8aa41f90e99c29d
parent
c2aca97ff1040deef1cbf4e1a6aaa08b7ad54fa1
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-10-17 05:43
rm xsync calls

ee what breaks

Diffstat

M xiwm.c 6 ------

1 files changed, 0 insertions, 6 deletions


diff --git a/xiwm.c b/xiwm.c

@@ -245,7 +245,6 @@ resize(Client *c, int x, int y, int w, int h, int bw)
  245   245 	}
  246   246 	wc.border_width = bw;
  247   247 	XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
  248    -1 	XSync(dpy, False);
  249   248 }
  250   249 
  251   250 void
@@ -313,7 +312,6 @@ restack(void)
  313   312 			if (ISVISIBLE(c) && (c->position == PLeft || c->position == PRight))
  314   313 				raiseclient(c);
  315   314 	raiseclient(sel[desktop]);
  316    -1 	XSync(dpy, False);
  317   315 	while (XCheckMaskEvent(dpy, EnterWindowMask, &ev));
  318   316 }
  319   317 
@@ -699,7 +697,6 @@ configurerequest(XEvent *e)
  699   697 		XSendEvent(dpy, c->win, False, StructureNotifyMask, (XEvent *)&ce);
  700   698 	} else
  701   699 		XConfigureWindow(dpy, ev->window, ev->value_mask, &wc);
  702    -1 	XSync(dpy, False);
  703   700 }
  704   701 
  705   702 void
@@ -806,7 +803,6 @@ killclient(const Arg *arg)
  806   803 		XGrabServer(dpy);
  807   804 		XSetCloseDownMode(dpy, DestroyAll);
  808   805 		XKillClient(dpy, sel[desktop]->win);
  809    -1 		XSync(dpy, False);
  810   806 		XUngrabServer(dpy);
  811   807 	}
  812   808 }
@@ -833,7 +829,6 @@ setup(void)
  833   829 	Atom utf8string;
  834   830 	const unsigned int desktops = DESKTOPS;
  835   831 
  836    -1 	XSync(dpy, False);
  837   832 	XSetErrorHandler(xerrordummy);
  838   833 
  839   834 	/* clean up any zombies immediately */
@@ -900,7 +895,6 @@ void
  900   895 run(void)
  901   896 {
  902   897 	XEvent ev;
  903    -1 	XSync(dpy, False);
  904   898 	while (!XNextEvent(dpy, &ev))
  905   899 		if (handler[ev.type])
  906   900 			handler[ev.type](&ev);