summaryrefslogtreecommitdiff
path: root/fullscreen-shell
Commit message (Collapse)AuthorAgeFilesLines
* compositor: Refactor weston_output_mode_switch()Derek Foreman2014-11-051-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>
* shell: fix weston_output_mode_switch() usageDerek Foreman2014-09-221-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>
* fullscreen-shell: Fix compiler warningsGiulio Camuffo2014-08-081-2/+2
|
* Add a wl_fullscreen_shell implementationJason Ekstrand2014-04-021-0/+830
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>