cursor_update_focus() is no-op while server->input_mode is set. So we
should only call cursor_update_focus() at the beginning/end of window
switching.
seat_focus_override_begin(&server->seat,
LAB_INPUT_STATE_WINDOW_SWITCHER, LAB_CURSOR_DEFAULT);
osd_update(server);
+
+ /* Update cursor, in case it is within the area covered by OSD */
+ cursor_update_focus(server);
}
void
- h / 2 + output_box.y;
wlr_scene_node_set_position(&scene_buffer->node, lx, ly);
wlr_scene_node_set_enabled(&output->osd_tree->node, true);
-
- /* Update cursor, in case it is within the area covered by OSD */
- cursor_update_focus(server);
}
void