summaryrefslogtreecommitdiff
path: root/fullscreen-shell
AgeCommit message (Collapse)AuthorFilesLines
2014-11-05compositor: Refactor weston_output_mode_switch()Derek Foreman1-9/+4
This breaks weston_output_mode_switch() into 3 functions: weston_output_mode_set_native() weston_output_mode_switch_to_temporary() weston_output_mode_switch_to_native() Differences from previous behaviour: SET_NATIVE didn't set current_scale (now it does) SET_TEMPORARY could set mode and scale independently - now it can't. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-09-22shell: fix weston_output_mode_switch() usageDerek Foreman1-3/+3
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-08-08fullscreen-shell: Fix compiler warningsGiulio Camuffo1-2/+2
2014-04-02Add a wl_fullscreen_shell implementationJason Ekstrand1-0/+830
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>