diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-21 23:57:08 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-21 23:57:08 +0000 |
| commit | f1c9077139d1b670782b1e4e1286c17eb302465f (patch) | |
| tree | 44006c0c49adb82cbbf5754be972872e31284c98 /src | |
| parent | 66e3679ba3dd1412f47e08c52872b7583deff291 (diff) | |
unblock pure wayland compiles
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers/XWaylandStubs.hpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/helpers/XWaylandStubs.hpp b/src/helpers/XWaylandStubs.hpp index fcb4a842..59b73bbf 100644 --- a/src/helpers/XWaylandStubs.hpp +++ b/src/helpers/XWaylandStubs.hpp @@ -155,10 +155,16 @@ inline wlr_xwayland_surface* wlr_xwayland_surface_from_wlr_surface(void*) { return nullptr; } -inline void wlr_xwayland_surface_close(wlr_xwayland_surface*) {} +inline void wlr_xwayland_surface_close(wlr_xwayland_surface*) {} -inline void wlr_xwayland_surface_set_fullscreen(wlr_xwayland_surface*, bool) {} +inline void wlr_xwayland_surface_set_fullscreen(wlr_xwayland_surface*, bool) {} -inline void wlr_xwayland_surface_set_minimized(wlr_xwayland_surface*, bool) {} +inline void wlr_xwayland_surface_set_minimized(wlr_xwayland_surface*, bool) {} -inline wlr_xwayland_surface* wlr_xwayland_surface_try_from_wlr_surface(wlr_surface*) { return nullptr; } +inline wlr_xwayland_surface* wlr_xwayland_surface_try_from_wlr_surface(wlr_surface*) { + return nullptr; +} + +inline bool wlr_xwayland_or_surface_wants_focus(const wlr_xwayland_surface*) { + return false; +}
\ No newline at end of file |
