Wayland: Move creation of OpenGL context to end of window creation function

Apparently with explicit sync it is now not possible to attach a
temporary buffer to a surface that also has an OpenGL context. So we
first attach the temporary buffer, and only after we are done waiting
for window creation do we attach the OpenGL context to the window
surface.

Fixes #7767 (maybe, not installing sway-git to check)
This commit is contained in:
Kovid Goyal
2024-08-26 15:28:47 +05:30
parent 75f5908009
commit 0594033b31
2 changed files with 22 additions and 24 deletions

View File

@@ -81,6 +81,8 @@ Detailed list of changes
- :ac:`goto_tab`: Allow numbers less than ``-1`` to go to the Nth previously active tab
- Wayland: Fix for upcoming explicit sync changes in Wayland compositors breaking kitty (:iss:`7767`)
0.36.1 [2024-08-24]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~