debug: log xcursor output scale
This commit is contained in:
parent
0c295dcf09
commit
70659969d6
|
|
@ -131,6 +131,7 @@ handle_backend_new_output(struct wl_listener *listener, void *data)
|
|||
|
||||
if (wl_state.cursor && wl_state.xcursor_mgr) {
|
||||
wlr_xcursor_manager_load(wl_state.xcursor_mgr, output->scale);
|
||||
wwarning("wl_backend: loading xcursor at output scale=%.2f", (double)output->scale);
|
||||
wlr_cursor_set_xcursor(wl_state.cursor, wl_state.xcursor_mgr, "left_ptr");
|
||||
wlr_cursor_warp(wl_state.cursor, NULL,
|
||||
(double)wl_state.pointer_x,
|
||||
|
|
|
|||
Loading…
Reference in New Issue