Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
x2x
x2x-1.30-beta-buttonmasks.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File x2x-1.30-beta-buttonmasks.dif of Package x2x
--- x2x.c +++ x2x.c 2008-07-14 14:22:38.532838048 +0200 @@ -1710,7 +1710,7 @@ XButtonEvent *pEv; } /* check if more than one button pressed */ - state = pEv->state; + state = pEv->state & (Button1Mask|Button2Mask|Button3Mask|Button4Mask|Button5Mask); switch (pEv->button) { case Button1: state &= ~Button1Mask; break; case Button2: state &= ~Button2Mask; break; @@ -1767,7 +1767,7 @@ XButtonEvent *pEv; if ((pDpyInfo->mode == X2X_AWAIT_RELEASE) || (pDpyInfo->mode == X2X_CONN_RELEASE)) { /* make sure that all buttons are released */ - state = pEv->state; + state = pEv->state & (Button1Mask|Button2Mask|Button3Mask|Button4Mask|Button5Mask); switch (pEv->button) { case Button1: state &= ~Button1Mask; break; case Button2: state &= ~Button2Mask; break;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor