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:
Enrico Weigelt, metux IT consult
2025-09-03 16:29:59 +02:00
committed by Enrico Weigelt
parent 975436f535
commit 06af052eb7

View File

@@ -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);
}
}