aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/window.h3
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 */