aboutsummaryrefslogtreecommitdiff
path: root/src/capture/kms.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-01 01:04:24 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-01 01:04:24 +0200
commit1a61c64e3ff725d5a1a397f975e6227fa254018b (patch)
tree880f75e355a4272916bdc42d0d91c5c18b59e7e0 /src/capture/kms.c
parent7ed99770687c689734e8c8db6ed5f5c30b1f5fdb (diff)
Usage text
Diffstat (limited to 'src/capture/kms.c')
-rw-r--r--src/capture/kms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/capture/kms.c b/src/capture/kms.c
index 2cbd757..8bb09a0 100644
--- a/src/capture/kms.c
+++ b/src/capture/kms.c
@@ -574,6 +574,7 @@ static void gsr_capture_kms_update_connector_ids(gsr_capture_kms *self) {
monitor.name = self->params.display_to_capture;
vec2i monitor_position = {0, 0};
+ // TODO: This is cached. We need it updated.
drm_monitor_get_display_server_data(self->params.egl->window, &monitor, &self->monitor_rotation, &monitor_position);
self->capture_pos = monitor.pos;