Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion fvwm/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,14 @@ static int _pred_weed_accumulate_expose(
static int _pred_weed_is_expose(
Display *display, XEvent *event, XPointer arg)
{
return (event->type == Expose);
if (event->type == Expose)
{
/* Include Expose in weeding (rc & 1) and stop scanning early (rc & 2)
* to avoid coalescing Expose events across different windows.
*/
return (1 /* match */ | 2 /* stop */);
}
return 0;
}

static int _pred_weed_handle_expose(
Expand Down