From 6ea02f3064736b7f53e5b28c16ee74f5665ce1b8 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 16 Jul 2016 10:04:18 -0400 Subject: Initial pass on HiDPI support --- include/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/config.h b/include/config.h index 87e23187..5e1c123e 100644 --- a/include/config.h +++ b/include/config.h @@ -81,6 +81,7 @@ struct output_config { int enabled; int width, height; int x, y; + int scale; char *background; char *background_option; }; -- cgit v1.2.3 From 11e7ca044c61f0bcce95a90b50814f780f769f21 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 18 Jul 2016 16:21:45 -0400 Subject: Update hidpi support to latest wlc API --- include/output.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/output.h b/include/output.h index 10c5bb53..e8afd5ed 100644 --- a/include/output.h +++ b/include/output.h @@ -19,4 +19,6 @@ void get_absolute_center_position(swayc_t *container, struct wlc_point *point); // stable sort workspaces on this output void sort_workspaces(swayc_t *output); +void output_get_scaled_size(wlc_handle handle, struct wlc_size *size); + #endif -- cgit v1.2.3