mirror of https://github.com/0intro/wmii
small fix to event.c
This commit is contained in:
parent
739f746aec
commit
11dc750133
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue