Commit Graph

3 Commits

Author SHA1 Message Date
Derek Foreman 728fdde3c8 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>
2015-01-15 10:56:35 -08:00
Giulio Camuffo d1ceecf112 fullscreen-shell: Fix compiler warnings 2014-08-08 18:07:34 +03:00
Jason Ekstrand 946a9489bf Add a wl_fullscreen_shell implementation
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
2014-04-02 21:25:56 -07:00