… | |
… | |
1612 | case MotionNotify: |
1612 | case MotionNotify: |
1613 | #ifdef POINTER_BLANK |
1613 | #ifdef POINTER_BLANK |
1614 | if (hidden_pointer) |
1614 | if (hidden_pointer) |
1615 | pointer_unblank (); |
1615 | pointer_unblank (); |
1616 | #endif |
1616 | #endif |
|
|
1617 | if (!bypass_keystate |
1617 | if ((priv_modes & PrivMode_MouseBtnEvent && ev.xbutton.state & (Button1Mask|Button2Mask|Button3Mask)) |
1618 | && ((priv_modes & PrivMode_MouseBtnEvent && ev.xbutton.state & (Button1Mask|Button2Mask|Button3Mask)) |
1618 | || priv_modes & PrivMode_MouseAnyEvent) |
1619 | || priv_modes & PrivMode_MouseAnyEvent)) |
1619 | mouse_report (ev.xbutton); |
1620 | mouse_report (ev.xbutton); |
1620 | if ((priv_modes & PrivMode_mouse_report) && !bypass_keystate) |
1621 | if ((priv_modes & PrivMode_mouse_report) && !bypass_keystate) |
1621 | break; |
1622 | break; |
1622 | |
1623 | |
1623 | if (ev.xany.window == vt) |
1624 | if (ev.xany.window == vt) |