diff options
-rw-r--r-- | video/out/x11_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 8c37074e0b..8d03c43af3 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -1963,6 +1963,9 @@ int vo_x11_control(struct vo *vo, int *events, int request, void *arg) *(double *)arg = fps; return VO_TRUE; } + case VOCTRL_GET_HIDPI_SCALE: + *(double *)arg = x11->dpi_scale; + return VO_TRUE; } return VO_NOTIMPL; } |