mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
...
This commit is contained in:
parent
9fbb079ad6
commit
cd3860817b
1 changed files with 2 additions and 0 deletions
2
glfw/wl_window.c
vendored
2
glfw/wl_window.c
vendored
|
|
@ -3153,12 +3153,14 @@ GLFWAPI bool glfwWaylandBeep(GLFWwindow *handle) {
|
|||
|
||||
static void
|
||||
drag_toplevel_xdg_surface_configure(void *data UNUSED, struct xdg_surface *surface, uint32_t serial) {
|
||||
debug_input("Drag toplevel surface configured\n");
|
||||
xdg_surface_ack_configure(surface, serial);
|
||||
if (_glfw.wl.drag.toplevel_buffer) {
|
||||
wl_surface_attach(_glfw.wl.drag.drag_icon, _glfw.wl.drag.toplevel_buffer, 0, 0);
|
||||
wl_surface_damage(_glfw.wl.drag.drag_icon, 0, 0, INT32_MAX, INT32_MAX);
|
||||
wl_buffer_destroy(_glfw.wl.drag.toplevel_buffer);
|
||||
_glfw.wl.drag.toplevel_buffer = NULL;
|
||||
debug_input("Drag toplevel icon buffer attached\n");
|
||||
}
|
||||
if (_glfw.wl.drag.drag_icon) wl_surface_commit(_glfw.wl.drag.drag_icon);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue