projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01570a6
)
Remove unused variable
author
Dana Jansens
<danakj@orodu.net>
Mon, 1 Oct 2012 05:04:41 +0000
(
01:04
-0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 7 Oct 2012 02:30:02 +0000
(22:30 -0400)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
15a7a47
..
ccbb56e
100644
(file)
--- 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 ||