mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-08 03:01:38 -04:00
xwayland: add support for changing global scale factor on the fly via x extension.
This commit is contained in:
parent
9bd9089045
commit
d069ab71d4
3 changed files with 50 additions and 0 deletions
|
|
@ -440,6 +440,9 @@ error_alloc:
|
|||
|
||||
void wlr_xwayland_set_scale(struct wlr_xwayland *wlr_xwayland, int32_t scale) {
|
||||
wlr_xwayland->scale = scale;
|
||||
if (wlr_xwayland->xwm != NULL) {
|
||||
xwm_scale_changed(wlr_xwayland->xwm);
|
||||
}
|
||||
}
|
||||
|
||||
void wlr_xwayland_set_cursor(struct wlr_xwayland *wlr_xwayland,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue