xiwm

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

commit
b22c67e96bd9bad0b5a976926cf463131bb655de
parent
a77ffa14d656dec561dc10429bc8559d2b43cd34
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-10-13 06:27
rm configurenotify

Diffstat

M xiwm.c 15 ---------------

1 files changed, 0 insertions, 15 deletions


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

@@ -87,7 +87,6 @@ static void spawn(const Arg *arg);
   87    87 static void keypress(XEvent *e);
   88    88 static void buttonpress(XEvent *e);
   89    89 static void clientmessage(XEvent *e);
   90    -1 static void configurenotify(XEvent *e);
   91    90 static void destroynotify(XEvent *e);
   92    91 static void unmapnotify(XEvent *e);
   93    92 static void configurerequest(XEvent *e);
@@ -105,7 +104,6 @@ static void (*handler[LASTEvent]) (XEvent *) = {
  105   104 	[KeyPress] = keypress,
  106   105 	[ButtonPress] = buttonpress,
  107   106 	[ClientMessage] = clientmessage,
  108    -1 	[ConfigureNotify] = configurenotify,
  109   107 	[DestroyNotify] = destroynotify,
  110   108 	[UnmapNotify] = unmapnotify,
  111   109 	[MapRequest] = maprequest,
@@ -658,19 +656,6 @@ clientmessage(XEvent *e)
  658   656 }
  659   657 
  660   658 void
  661    -1 configurenotify(XEvent *e)
  662    -1 {
  663    -1 	XConfigureEvent *ev = &e->xconfigure;
  664    -1 
  665    -1 	if (ev->window == root) {
  666    -1 		sw = ev->width;
  667    -1 		sh = ev->height;
  668    -1 		focus(NULL);
  669    -1 		arrange();
  670    -1 	}
  671    -1 }
  672    -1 
  673    -1 void
  674   659 destroynotify(XEvent *e)
  675   660 {
  676   661 	Client *c;