]> git.sesse.net Git - vlc/commit
xcb: fix resizing failing to succeed sometimes
authorErwan Tulou <erwan10@videolan.org>
Sun, 10 Jan 2010 20:56:04 +0000 (21:56 +0100)
committerErwan Tulou <erwan10@videolan.org>
Mon, 25 Jan 2010 19:09:59 +0000 (20:09 +0100)
commit6862cff0c6951fd877ee5770135c83f88cbd2b0a
tree7b2f2928559b3eb60776f1c8ed06aaae69fe8f4e
parentafe5f8d6076ca8fd5a737ba89128c7fed1fa2d06
xcb: fix resizing failing to succeed sometimes

The vout window provider may issue a series of several resize events in a row.
(e.g a user switching back and forth between two layouts in skins2)
Some events may then be wrongly discarded by xcb based on a check that doesn't
represent the latest situation.
The new design actually can accept all resizing events, and only processes the last event of a series of events detected by xcb. No filtering is needed in xcb.
modules/video_output/xcb/events.c