diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-17 12:44:14 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-17 12:44:14 +0100 |
commit | 97d24e6a1b1fe8d2a4e217f9ee3f82a1accf468a (patch) | |
tree | bdd6b9263d8e9ddfc96ab24a2a41b67a352f5398 /include | |
parent | fc6457d7596bcf7956767a34a2f3cd32db1bda70 (diff) |
Expose mgl_for_each_active_monitor_output
Diffstat (limited to 'include')
-rw-r--r-- | include/mgl/window/window.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h index a5ccbf7..748e728 100644 --- a/include/mgl/window/window.h +++ b/include/mgl/window/window.h @@ -187,4 +187,7 @@ void mgl_window_flush(mgl_window *self); void* mgl_window_get_egl_display(mgl_window *self); void* mgl_window_get_egl_context(mgl_window *self); +typedef void (*mgl_active_monitor_callback)(const mgl_monitor *monitor, void *userdata); +void mgl_for_each_active_monitor_output(void *display, mgl_active_monitor_callback callback, void *userdata); + #endif /* MGL_WINDOW_H */ |