WINGs: deliver maskless events (selection, mapping) to all handlers

Selection and mapping events have mask 0 in the type table (matching
X11 semantics where they bypass event masks). Change the dispatch
check to deliver events with mask==0 to all registered handlers,
so these events are not silently dropped.
This commit is contained in:
Window Maker 2026-05-25 13:39:18 +02:00
parent 1954fa2a12
commit f878117013
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ int WMHandleEvent(WMEvent * event)
W_RetainView(toplevel);
WM_ITERATE_ARRAY(view->eventHandlers, hPtr, iter) {
if ((hPtr->eventMask & mask)) {
if (mask == 0 || (hPtr->eventMask & mask)) {
(*hPtr->proc) (event, hPtr->clientData);
}
}