diff options
author | Drew DeVault <ddevault@linode.com> | 2016-07-18 16:21:45 -0400 |
---|---|---|
committer | Drew DeVault <ddevault@linode.com> | 2016-07-28 14:36:49 -0400 |
commit | 11e7ca044c61f0bcce95a90b50814f780f769f21 (patch) | |
tree | 70a4b6d6e476471a7f290f8c1278b01b275358be /sway/handlers.c | |
parent | Initial pass on HiDPI support (diff) | |
download | sway-11e7ca044c61f0bcce95a90b50814f780f769f21.tar.gz sway-11e7ca044c61f0bcce95a90b50814f780f769f21.tar.zst sway-11e7ca044c61f0bcce95a90b50814f780f769f21.zip |
Update hidpi support to latest wlc API
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index ad035e38..7e958c72 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -57,7 +57,7 @@ static struct background_config *if_background_find_config(struct wl_client *cli | |||
57 | 57 | ||
58 | static struct wlc_geometry compute_panel_geometry(struct panel_config *config) { | 58 | static struct wlc_geometry compute_panel_geometry(struct panel_config *config) { |
59 | struct wlc_size resolution; | 59 | struct wlc_size resolution; |
60 | wlc_output_get_scaled_size(config->output, &resolution); | 60 | output_get_scaled_size(config->output, &resolution); |
61 | const struct wlc_geometry *old = wlc_view_get_geometry(config->handle); | 61 | const struct wlc_geometry *old = wlc_view_get_geometry(config->handle); |
62 | struct wlc_geometry new; | 62 | struct wlc_geometry new; |
63 | 63 | ||