mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
Merge 2e570bbb90 into 6793648f8e
This commit is contained in:
commit
53dea65cd0
11 changed files with 130 additions and 68 deletions
|
|
@ -69,7 +69,7 @@ struct window *window_setup(struct registry *registry, uint32_t width, uint32_t
|
|||
|
||||
window->surface = wl_compositor_create_surface(registry->compositor);
|
||||
if (shell_surface) {
|
||||
window->shell_surface = wl_shell_get_shell_surface(registry->shell, window->surface);
|
||||
window->shell_surface = wl_shell_get_shell_surface(window->registry->shell, window->surface);
|
||||
wl_shell_surface_add_listener(window->shell_surface, &surface_listener, window);
|
||||
wl_shell_surface_set_toplevel(window->shell_surface);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue