mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Initial pass on HiDPI support
This commit is contained in:
parent
a5af3bce98
commit
6ea02f3064
6 changed files with 34 additions and 14 deletions
|
|
@ -56,7 +56,8 @@ static struct background_config *if_background_find_config(struct wl_client *cli
|
|||
}
|
||||
|
||||
static struct wlc_geometry compute_panel_geometry(struct panel_config *config) {
|
||||
const struct wlc_size resolution = *wlc_output_get_resolution(config->output);
|
||||
struct wlc_size resolution;
|
||||
wlc_output_get_scaled_size(config->output, &resolution);
|
||||
const struct wlc_geometry *old = wlc_view_get_geometry(config->handle);
|
||||
struct wlc_geometry new;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue