render: set refresh to 0 for both wl and x11 backends

This commit is contained in:
vaxerski 2023-07-19 00:26:04 +02:00
parent f2999e84b9
commit ce9c5fd722
2 changed files with 10 additions and 5 deletions

View file

@ -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;
}