mirror of
https://github.com/swaywm/sway.git
synced 2026-05-02 06:46:23 -04:00
Update wlroots xdg-shell-v6 API
This commit is contained in:
parent
cf4db5141f
commit
f53a47fde0
1 changed files with 2 additions and 2 deletions
|
|
@ -123,12 +123,12 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {
|
|||
sway_view->sway_xdg_surface_v6 = sway_surface;
|
||||
sway_view->surface = xdg_surface->surface;
|
||||
sway_surface->view = sway_view;
|
||||
|
||||
|
||||
// TODO:
|
||||
// - Look up pid and open on appropriate workspace
|
||||
// - Set new view to maximized so it behaves nicely
|
||||
// - Criteria
|
||||
|
||||
|
||||
sway_surface->commit.notify = handle_commit;
|
||||
wl_signal_add(&xdg_surface->surface->events.commit, &sway_surface->commit);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue