wlt: toolkit: make fullscreen overwrite maximized mode
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 15:45:46 +0000 (17:45 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 1 Oct 2012 15:45:46 +0000 (17:45 +0200)
commit4679bde07e3810b03a817b6a25872adc075f4d41
tree7ec0925fc8893e243e1eff7bc0c10036794fe685
parent911ae1af88380865bac7b1505d868f0d7dbbe787
wlt: toolkit: make fullscreen overwrite maximized mode

If *_toggle_maximized() is called while in fullscreen, we still change our
internal state, but we do not modify the application behavior in regard to
wl_shell_surface state. Instead, we stay fullscreen until it is
deactivated again.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/wlt_toolkit.c