Skip to content

Commit

Permalink
xdg-toplevel: Remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
soreau committed Aug 27, 2024
1 parent d778966 commit 5be0549
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/view/xdg-shell/xdg-toplevel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ void wf::xdg_toplevel_t::commit()
const int configure_width = std::max(1, desired_size.width);
const int configure_height = std::max(1, desired_size.height);
this->target_configure = wlr_xdg_toplevel_set_size(this->toplevel, configure_width, configure_height);
} else
{
wlr_xdg_toplevel_set_size(this->toplevel, current_size.width, current_size.height);
}

if (_current.tiled_edges != _pending.tiled_edges)
Expand Down

0 comments on commit 5be0549

Please sign in to comment.