summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2014-09-19 14:43:23 -0500
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-09-22 14:38:13 +0300
commit69c6273f28e75ce8f42ccc36eb9257f1871a9ef2 (patch)
tree3876edea3e6e5700fb057695f7ed41f2c22d5ca2 /protocol
parent382de46a2fc769d7cd6871399558d31d3836bbc1 (diff)
downloadweston-69c6273f28e75ce8f42ccc36eb9257f1871a9ef2.tar.gz
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>
Diffstat (limited to 'protocol')
0 files changed, 0 insertions, 0 deletions