Commit 554b2b0e36e0c5ef3fc0b482085f86679a3db3a6

Ryan C. Gordon 2015-05-31T22:48:26

X11: Fixed message boxes not responding to click on titlebar close button. The window needs to catch ClientMessage events for one specific window, but XNextEvent() catches everything, and XWindowEvent doesn't catch ClientMessage, so we need predicate procedure and XIfEvent() here. Fixes Bugzilla #2980.