aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-04 01:44:02 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-04 01:44:02 +0100
commit34ca6fdc39ede4570cfdf81ce45a9723f590b00a (patch)
treef47c4c5588e41c04ca6dafb3fa92d67191320824 /src
parent31a9c2a2a8c01665810afb3e72032b636e0452e0 (diff)
Init clip
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
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);