mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Add a comment explaining why we dont commit if resized
This commit is contained in:
parent
76a536ece0
commit
a9de91087a
1 changed files with 2 additions and 0 deletions
2
glfw/wl_window.c
vendored
2
glfw/wl_window.c
vendored
|
|
@ -526,6 +526,8 @@ static void xdgSurfaceHandleConfigure(void* data,
|
|||
|
||||
inform_compositor_of_window_geometry(window, "configure");
|
||||
|
||||
// if a resize happened there will be a commit at the next render frame so
|
||||
// dont commit here, GNOME doesnt like it and its not really needed anyway
|
||||
if (!resized) wl_surface_commit(window->wl.surface);
|
||||
window->wl.pending_state = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue