weston/desktop-shell
Derek Foreman 69c6273f28 shell: fix weston_output_mode_switch() usage
Calling weston_output_mode_switch() with WESTON_MODE_SWITCH_RESTORE_NATIVE
will result in the mode being set "back" to the passed in mode - so the
passed mode should be the native mode.

Additionally, weston_output_mode_switch() should be called when
output->original_mode is non-NULL (which indicates we had a temporary
mode set).  The comparison to current_mode results in a lot of
log chatter.

Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-09-22 14:38:13 +03:00
..
exposay.c compositor: keep track of the weston_layer a weston_view is in 2014-07-23 12:34:33 -07:00
input-panel.c Don't bother destroying resources after sending an error 2014-08-08 14:57:17 -07:00
shell.c shell: fix weston_output_mode_switch() usage 2014-09-22 14:38:13 +03:00
shell.h shell: quit weston, if weston-desktop-shell dies early 2014-09-01 10:18:59 +03:00