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

@ -122,6 +122,7 @@ struct wlr_xwm {
struct wlr_xwayland_surface *drag_focus;
const xcb_query_extension_reply_t *xfixes;
const xcb_query_extension_reply_t *xwayland_ext;
#if WLR_HAS_XCB_ERRORS
xcb_errors_context_t *errors_context;
#endif
@ -155,4 +156,6 @@ char *xwm_get_atom_name(struct wlr_xwm *xwm, xcb_atom_t atom);
bool xwm_atoms_contains(struct wlr_xwm *xwm, xcb_atom_t *atoms,
size_t num_atoms, enum atom_name needle);
void xwm_scale_changed(struct wlr_xwm *xwm);
#endif