From: Dana Jansens Date: Mon, 1 Oct 2012 05:04:41 +0000 (-0400) Subject: Remove unused variable X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=aa36b603d7bc35ad82a6ce6246c4edd0af6eacc8;p=chaz%2Fopenbox Remove unused variable --- diff --git a/openbox/event.c b/openbox/event.c index 15a7a479..ccbb56e6 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -698,7 +698,6 @@ static void event_process(const XEvent *ec, gpointer data) if (e->type == ButtonPress || e->type == ButtonRelease) { ObWindow *w; static guint pressed = 0; - static Window pressed_win = None; event_sourcetime = event_curtime; @@ -719,10 +718,8 @@ static void event_process(const XEvent *ec, gpointer data) if (prompt && !used) used = event_handle_prompt(prompt, e); - if (e->type == ButtonPress) { + if (e->type == ButtonPress) pressed = e->xbutton.button; - pressed_win = e->xbutton.subwindow; - } } } else if (e->type == KeyPress || e->type == KeyRelease ||