diff options
author | vaxerski <[email protected]> | 2023-07-19 00:26:04 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-07-19 00:28:15 +0200 |
commit | ce9c5fd7227d6f90a103a0ae379b61a429a9f572 (patch) | |
tree | dac7fcd43b3fba663f4a420ac0ca7b0f3f6ddb45 /src/helpers/XWaylandStubs.hpp | |
parent | f2999e84b90a3b1aafee870d291f07147e495b6d (diff) | |
download | Hyprland-ce9c5fd7227d6f90a103a0ae379b61a429a9f572.tar.gz Hyprland-ce9c5fd7227d6f90a103a0ae379b61a429a9f572.zip |
render: set refresh to 0 for both wl and x11 backends
Diffstat (limited to 'src/helpers/XWaylandStubs.hpp')
-rw-r--r-- | src/helpers/XWaylandStubs.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/helpers/XWaylandStubs.hpp b/src/helpers/XWaylandStubs.hpp index 940bcce0..39eaa5e0 100644 --- a/src/helpers/XWaylandStubs.hpp +++ b/src/helpers/XWaylandStubs.hpp @@ -28,7 +28,8 @@ typedef struct { } xcb_size_hints_t; typedef unsigned int xcb_window_t; -typedef enum xcb_stack_mode_t { +typedef enum xcb_stack_mode_t +{ XCB_STACK_MODE_ABOVE = 0, XCB_STACK_MODE_BELOW = 1, XCB_STACK_MODE_TOP_IF = 2, @@ -168,4 +169,8 @@ inline wlr_xwayland_surface* wlr_xwayland_surface_try_from_wlr_surface(wlr_surfa inline bool wlr_xwayland_or_surface_wants_focus(const wlr_xwayland_surface*) { return false; +} + +inline bool wlr_backend_is_x11(void*) { + return false; }
\ No newline at end of file |