From ac735719cfc086c54ff939786823b29de2c24c0a Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Fri, 8 May 2020 14:51:10 +0200 Subject: Implement initial Xwayland support --- src/VoidView.zig | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/VoidView.zig (limited to 'src/VoidView.zig') diff --git a/src/VoidView.zig b/src/VoidView.zig new file mode 100644 index 0000000..72c57a7 --- /dev/null +++ b/src/VoidView.zig @@ -0,0 +1,48 @@ +// This file is part of river, a dynamic tiling wayland compositor. +// +// Copyright 2020 Isaac Freund +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +const Self = @This(); + +const std = @import("std"); + +const c = @import("c.zig"); + +const Box = @import("Box.zig"); + +pub fn configure(self: Self, pending_box: Box) void { + unreachable; +} + +pub fn setActivated(self: Self, activated: bool) void { + unreachable; +} + +pub fn close(self: Self) void { + unreachable; +} + +pub fn forEachSurface( + self: Self, + iterator: c.wlr_surface_iterator_func_t, + user_data: ?*c_void, +) void { + unreachable; +} + +pub fn surfaceAt(self: Self, ox: f64, oy: f64, sx: *f64, sy: *f64) ?*c.wlr_surface { + unreachable; +} -- cgit v1.2.3