small fix to event.c

This commit is contained in:
Sander van Dijk 2006-05-05 00:06:27 +02:00
parent 739f746aec
commit 11dc750133
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ handle_buttonpress(XEvent *e)
if((c = frame_of_win(ev->window))) {
ev->state &= valid_mask;
if(ev->state & def.mod) {
if((ev->button == Button1 || ev->button == Button3))
if((ev->button == Button1 || ev->button == Button2 || ev->button == Button3))
focus(c, True);
switch(ev->button) {
case Button1: