From 34ca6fdc39ede4570cfdf81ce45a9723f590b00a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 4 Dec 2024 01:44:02 +0100 Subject: Init clip --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 8b96473..8c30508 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -355,6 +355,7 @@ int main(int argc, char **argv) { const mgl::vec2i window_start_position{focused_monitor->pos.x + focused_monitor->size.x, focused_monitor->pos.y + window_size.y}; window.set_size_limits(window_size, window_size); window.set_size(window_size); + set_window_clip_region(display, window.get_system_handle(), {0, 0}, {0, 0}); window.set_position(window_start_position); make_window_click_through(display, window.get_system_handle()); window.set_visible(true); -- cgit v1.2.3