diff options
| author | dec05eba <dec05eba@protonmail.com> | 2026-01-20 13:32:42 +0100 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2026-01-20 13:32:42 +0100 |
| commit | 054282bafe9ef0acbcc5b56bd47fd90dc7b53aaa (patch) | |
| tree | fecfb9371809fe55bd8027dacf1aee7836b8f8c1 /include | |
| parent | 1e7fe1fec1f99b729963c5fa4cf58d1bac0e0961 (diff) | |
Wayland region: fix incorrect region captured if monitor is scaled
Diffstat (limited to 'include')
| -rw-r--r-- | include/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h index ff8cb90..d2c3b7d 100644 --- a/include/utils.h +++ b/include/utils.h @@ -16,6 +16,8 @@ typedef struct { int name_len; vec2i pos; /* This is 0, 0 on wayland. Use |drm_monitor_get_display_server_data| to get the position */ vec2i size; + vec2i logical_pos; + vec2i logical_size; uint32_t connector_id; /* Only on x11 and drm */ gsr_monitor_rotation rotation; /* Only on x11 and wayland */ uint32_t monitor_identifier; /* On x11 this is the crtc id */ |
