xwayland: add support for changing global scale factor on the fly via x extension.

This commit is contained in:
Dario Nieuwenhuis 2020-03-10 23:21:11 +01:00
parent 9bd9089045
commit d069ab71d4
3 changed files with 50 additions and 0 deletions

View file

@ -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,