mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
Xi: SendEventToAllWindows(): drop unneeded local variable
Only used once as paramter, so we can use its assigned value directly. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
975436f535
commit
06af052eb7
@@ -3314,8 +3314,7 @@ SendEventToAllWindows(DeviceIntPtr dev, Mask mask, xEvent *ev, int count)
|
||||
if (!pWin)
|
||||
continue;
|
||||
DeliverEventsToWindow(dev, pWin, ev, count, mask, NullGrab);
|
||||
WindowPtr p1 = pWin->firstChild;
|
||||
FindInterestedChildren(dev, p1, mask, ev, count);
|
||||
FindInterestedChildren(dev, pWin->firstChild, mask, ev, count);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user