mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Update hidpi support to latest wlc API
This commit is contained in:
parent
6ea02f3064
commit
11e7ca044c
7 changed files with 22 additions and 13 deletions
|
|
@ -57,7 +57,7 @@ static struct background_config *if_background_find_config(struct wl_client *cli
|
|||
|
||||
static struct wlc_geometry compute_panel_geometry(struct panel_config *config) {
|
||||
struct wlc_size resolution;
|
||||
wlc_output_get_scaled_size(config->output, &resolution);
|
||||
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