commit | 40ee921fffd37febddabe263c9e5e88320c52841 | [log] [tgz] |
---|---|---|
author | Axel Davy <axel.davy@ens.fr> | Fri Nov 08 12:59:34 2013 +0100 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Nov 27 22:56:43 2013 -0800 |
tree | 4499cd30d919c9d933abcd9fb86ba7d258fd7a25 | |
parent | 1b55a5918c00faf879affc59c0f0e43a1eb816ff [diff] |
Do not set output->current_mode in compositor.c The field is already set - correctly - in the backend switch_mode. setting output->current_mode to mode in compositor.c leads to bugs, since mode can be freed by the shell. For example, the shell allocates it on the stack for WL_SHELL_SURFACE_FULLSCREEN_METHOD_DRIVER Signed-off-by: Axel Davy <axel.davy@ens.fr>