Patch: fix weston crash

Andrew Engelbrecht sudoman at
Tue Dec 2 09:18:44 PST 2014

To produce the bug, build and run: (you don't need the game data to test)

$ mv ~/.config/flare ~/.config/flare.bak
$ ./flare  # click 'configure', set full screen mode then click 'ok'
           # weston will crash and dump core.

I've attached a patch which fixes the crashing. I mimicked the code in
the block above it without knowing the overall impact, so it needs
review from a knowledgeable contributor.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-weston.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <>

More information about the wayland-devel mailing list