all repos — openbox @ aa36b603d7bc35ad82a6ce6246c4edd0af6eacc8

openbox fork - make it a bit more like ryudo

Remove unused variable
Dana Jansens danakj@orodu.net
commit

aa36b603d7bc35ad82a6ce6246c4edd0af6eacc8

parent

01570a6a82a8576baa52e38d044787a105bcf102

1 files changed, 1 insertions(+), 4 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -698,7 +698,6 @@

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 @@

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 ||