desktop-shell: Set fullscreen flags in common code path
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 6 Dec 2013 06:04:42 +0000 (22:04 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 6 Dec 2013 06:04:42 +0000 (22:04 -0800)
commite960b3f012f8547f60dc74783cac585d9fa47323
treee6f9d84129456573bddc4d4f9a3a16562506a7c3
parentc2745b14f091e51646f9cd865dbda4ba72fb7408
desktop-shell: Set fullscreen flags in common code path

Just as for set_maximized() we can move the setting of the fullscreen and
state_changed flags into the common set_fullscreen() function.  This
function is also used from the xwayland wm to set fullscreen windows, and
with this change that now works again.
desktop-shell/shell.c