mirror of
https://github.com/swaywm/sway.git
synced 2026-03-13 05:34:04 -04:00
Send surface enter/leave events
This commit is contained in:
parent
61c1c3e7af
commit
8ad26c8afd
3 changed files with 45 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
|
|||
wl_container_of(listener, sway_surface, commit);
|
||||
struct sway_view *view = sway_surface->view;
|
||||
// NOTE: We intentionally discard the view's desired width here
|
||||
// TODO: Store this for restoration when moving to floating plane
|
||||
// TODO: Let floating views do whatever
|
||||
view->width = sway_surface->pending_width;
|
||||
view->height = sway_surface->pending_height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue