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:
parent
1954fa2a12
commit
f878117013
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue