Skip to content

Commit

Permalink
window-manager: carefully order the request for native size
Browse files Browse the repository at this point in the history
The request for native size should happen after all other requests,
    otherwise they will overwrite it.
  • Loading branch information
ammen99 committed Aug 31, 2023
1 parent d485f0d commit 43422b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/window-manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,13 @@ void window_manager_t::tile_request(wayfire_toplevel_view view,
{
// set geometry will commit the state
view->set_geometry(data.desired_size);
move_to_workspace(view, workspace);
} else
{
// Move will commit the tiled edges
move_to_workspace(view, workspace);
view->request_native_size();
wf::get_core().tx_manager->schedule_object(view->toplevel());
}

move_to_workspace(view, workspace);
}
}

Expand Down

0 comments on commit 43422b5

Please sign in to comment.