Always retile when fullscreen bit toggles
@@ -127,7 +127,6 @@ pub extern fn view_request_state(view: WlcView, state: ViewState, toggle: bool)
trace!("Setting {:?} to state {:?}", view, state);
if state == VIEW_FULLSCREEN {
view.set_state(state, toggle);
- if toggle {
if let Ok(mut tree) = try_lock_tree() {
if let Some(id) = tree.lookup_view(view) {
match tree.container_in_active_workspace(id) {
@@ -147,7 +146,6 @@ pub extern fn view_request_state(view: WlcView, state: ViewState, toggle: bool)
}
}
}
-}
pub extern fn view_request_move(view: WlcView, _dest: &Point) {
if let Ok(mut tree) = try_lock_tree() {
