xzoom

A simple screen magnifier for X11.
git clone git://r-36.net/xzoom
Log | Files | Refs

commit 7c3757824e5bc5f10e55dbf6a338ec3569c7b323
parent 1426ec29a47a6d567d33a5f99348bdf642591dde
Author: Phil Carmody <pc+xzoom@asdf.org>
Date:   Thu, 21 Nov 2013 17:38:44 +0200

xzoom: remove the unmapped variable

It's only ever written to, never read, so is useless. Kill it.

Signed-off-by: Phil Carmody <pc+xzoom@asdf.org>
Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
xzoom.c | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/xzoom.c b/xzoom.c @@ -329,7 +329,6 @@ main(int argc, char **argv) { XSizeHints *sizeh = NULL; XClassHint *ch; int buttonpressed = False; - int unmapped = True; int scroll = 1; char title[80]; XGCValues gcv; @@ -644,14 +643,6 @@ main(int argc, char **argv) { case ReparentNotify: break; /* what do we do with it? */ - case MapNotify: - unmapped = False; - break; - - case UnmapNotify: - unmapped = True; - break; - case KeyRelease: switch(XKeycodeToKeysym(dpy, event.xkey.keycode, 0)) { case XK_Control_L: