|
|
@ -231,10 +231,10 @@ void KeyboardEvent::tweakModifiers(signed char mod, bool down) {
|
|
|
|
if(isShift && mod != 1) {
|
|
|
|
if(isShift && mod != 1) {
|
|
|
|
if(ModifierState & LEFTSHIFT)
|
|
|
|
if(ModifierState & LEFTSHIFT)
|
|
|
|
XTestFakeKeyEvent(dpy, leftShiftCode,
|
|
|
|
XTestFakeKeyEvent(dpy, leftShiftCode,
|
|
|
|
!down, CurrentTime);
|
|
|
|
down, CurrentTime);
|
|
|
|
if(ModifierState & RIGHTSHIFT)
|
|
|
|
if(ModifierState & RIGHTSHIFT)
|
|
|
|
XTestFakeKeyEvent(dpy, rightShiftCode,
|
|
|
|
XTestFakeKeyEvent(dpy, rightShiftCode,
|
|
|
|
!down, CurrentTime);
|
|
|
|
down, CurrentTime);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(!isShift && mod==1)
|
|
|
|
if(!isShift && mod==1)
|
|
|
|