mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-06-20 14:33:11 -04:00
output: drop unnecessary wlr_xcursor_manager_load() call
wlr_cursor_set_xcursor() takes care of this already.
This commit is contained in:
parent
79e1e0dfaa
commit
d48cbe40f9
1 changed files with 0 additions and 6 deletions
6
output.c
6
output.c
|
|
@ -35,7 +35,6 @@
|
|||
#include <wlr/util/region.h>
|
||||
|
||||
#include "output.h"
|
||||
#include "seat.h"
|
||||
#include "server.h"
|
||||
#include "view.h"
|
||||
#if CAGE_HAS_XWAYLAND
|
||||
|
|
@ -306,11 +305,6 @@ handle_new_output(struct wl_listener *listener, void *data)
|
|||
output_disable(next);
|
||||
}
|
||||
|
||||
if (!wlr_xcursor_manager_load(server->seat->xcursor_manager, wlr_output->scale)) {
|
||||
wlr_log(WLR_ERROR, "Cannot load XCursor theme for output '%s' with scale %f", wlr_output->name,
|
||||
wlr_output->scale);
|
||||
}
|
||||
|
||||
wlr_log(WLR_DEBUG, "Enabling new output %s", wlr_output->name);
|
||||
if (wlr_output_commit_state(wlr_output, &state)) {
|
||||
output_layout_add_auto(output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue