mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Wayland: Remove the mutter specific ignoring of the first empty surface configure event. It seems to be no longer necessary on current mutter, with the recent Wayland changes
This commit is contained in:
parent
dcf2152a7a
commit
fe2f3d9870
1 changed files with 0 additions and 5 deletions
5
glfw/wl_window.c
vendored
5
glfw/wl_window.c
vendored
|
|
@ -577,11 +577,6 @@ static void xdgSurfaceHandleConfigure(void* data,
|
|||
if (!window->wl.surface_configured_once) {
|
||||
window->wl.surface_configured_once = true;
|
||||
swap_buffers(window);
|
||||
if (!width && !height && !new_states && !window->wl.decorations.serverSide && getenv("XAUTHORITY") && strstr(getenv("XAUTHORITY"), "mutter")) {
|
||||
// https://github.com/kovidgoyal/kitty/issues/4802
|
||||
debug("Ignoring first empty surface configure event on mutter.\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (new_states != window->wl.current.toplevel_states ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue