mirror of
https://github.com/swaywm/sway.git
synced 2025-11-03 09:01:43 -05:00
Add view_get_geometry
This commit is contained in:
parent
db4b4935b3
commit
b3ee9af0c8
4 changed files with 28 additions and 37 deletions
|
|
@ -287,8 +287,6 @@ static void handle_commit(struct wl_listener *listener, void *data) {
|
|||
if (view->swayc->instruction) {
|
||||
transaction_notify_view_ready_by_size(view,
|
||||
surface_state->width, surface_state->height);
|
||||
} else if (container_is_floating(view->swayc)) {
|
||||
view_update_size(view, surface_state->width, surface_state->height);
|
||||
}
|
||||
|
||||
view_damage_from(view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue