[1/3] winex11: Select for XRandR screen change events and implement an event handler.
Sam Edwards
cfsworks at gmail.com
Wed May 8 10:47:59 CDT 2013
This patch adds an event handler to xrandr.c to process
RRScreenChangeNotify events, so that when non-Wine applications change
the display resolution, Wine can find out about it.
Two main discussion points:
- Previously, there was nothing pulling events out of gdi_display's
queue, thus necessitating the need for a new event handler. I opted to
put it in xrandr.c since this handler only manages XRandR events, but it
might be cleaner to move it over to event.c.
- Are we okay with having to call the event handler, or would this work
better in a continuously-running background thread instead?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11-Select-for-XRandR-screen-change-events-and-i.patch
Type: text/x-patch
Size: 3466 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130508/86d01ed3/attachment.bin>
More information about the wine-patches
mailing list