chore: XWindowsScreen::handleSystemEvent, remove unused Window variables
This commit is contained in:
parent
8d90515446
commit
3770e2c39e
1 changed files with 0 additions and 2 deletions
|
|
@ -1206,8 +1206,6 @@ void XWindowsScreen::handleSystemEvent(const Event &event)
|
||||||
if (XGetEventData(m_display, cookie) && cookie->type == GenericEvent && cookie->extension == xi_opcode) {
|
if (XGetEventData(m_display, cookie) && cookie->type == GenericEvent && cookie->extension == xi_opcode) {
|
||||||
if (cookie->evtype == XI_RawMotion) {
|
if (cookie->evtype == XI_RawMotion) {
|
||||||
// Get current pointer's position
|
// Get current pointer's position
|
||||||
Window root;
|
|
||||||
Window child;
|
|
||||||
XMotionEvent xmotion;
|
XMotionEvent xmotion;
|
||||||
xmotion.type = MotionNotify;
|
xmotion.type = MotionNotify;
|
||||||
xmotion.send_event = False; // Raw motion
|
xmotion.send_event = False; // Raw motion
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue