mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
swaps_disallowed is used only on wayland
This commit is contained in:
parent
1e49038747
commit
7fc1735a21
1 changed files with 4 additions and 0 deletions
4
glfw/internal.h
vendored
4
glfw/internal.h
vendored
|
|
@ -441,7 +441,11 @@ struct _GLFWwindow
|
|||
bool rawMouseMotion;
|
||||
|
||||
_GLFWcontext context;
|
||||
#ifdef _GLFW_WAYLAND
|
||||
bool swaps_disallowed;
|
||||
#else
|
||||
const bool swaps_disallowed;
|
||||
#endif
|
||||
|
||||
struct {
|
||||
GLFWwindowposfun pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue