From 1971783eab5fe2757715eedcf059fc5eb2c4b9cc Mon Sep 17 00:00:00 2001 From: Curve Date: Mon, 14 Oct 2024 22:03:01 +0200 Subject: [PATCH] fix(window): add policy --- include/saucer/window.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/saucer/window.h b/include/saucer/window.h index a77334d..c8cc217 100644 --- a/include/saucer/window.h +++ b/include/saucer/window.h @@ -31,6 +31,12 @@ extern "C" SAUCER_WINDOW_EDGE_RIGHT, }; + enum SAUCER_POLICY + { + SAUCER_POLICY_ALLOW, + SAUCER_POLICY_BLOCK, + }; + struct saucer_handle; SAUCER_EXPORT bool saucer_window_focused(saucer_handle *);