diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-07-16 13:13:41 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-07-16 13:13:41 +0300 |
| commit | ecc949ce290ea5770c8abc4abc973ff072b9b033 (patch) | |
| tree | cd22dd66836fcbc2d9f14c03813dfbbe7e75e94e /src/window/window.c | |
| parent | ff8c3b1dd6fbd7107867e0cef6556e52c7ede6cb (diff) | |
| parent | 3bdc117b311b787b85e2ab6af1b3d63fcef00e49 (diff) | |
Merge tag '5.15.1' of https://repo.dec05eba.com/gpu-screen-recorder
Diffstat (limited to 'src/window/window.c')
| -rw-r--r-- | src/window/window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window/window.c b/src/window/window.c index 1c6a24e..5ede9fd 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -28,3 +28,9 @@ void* gsr_window_get_window(gsr_window *self) { void gsr_window_for_each_active_monitor_output_cached(const gsr_window *self, active_monitor_callback callback, void *userdata) { self->for_each_active_monitor_output_cached(self, callback, userdata); } + +bool gsr_window_get_monitor_hdr_info(const gsr_window *self, const char *monitor_name, gsr_monitor_hdr_info *hdr_info) { + if(self->get_monitor_hdr_info) + return self->get_monitor_hdr_info(self, monitor_name, hdr_info); + return false; +} |
