diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2021-12-22 12:43:07 -0600 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2021-12-22 12:43:07 -0600 |
commit | f4ae4c1a0b3b445632838221d2033ca8f595f482 (patch) | |
tree | 4abc5eef810b6ff594eb0cf7de68f3832fca196d /dwl.c | |
parent | 27514b959364079dd0590644b3b2e54f0e1391e6 (diff) | |
parent | f85d8e79d09bb167f133fbaa40dd01bc3d3d26a3 (diff) | |
download | dwl-f4ae4c1a0b3b445632838221d2033ca8f595f482.tar.gz |
Merge branch 'main' into scenegraph3
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -321,10 +321,6 @@ static struct wlr_virtual_keyboard_manager_v1 *virtual_keyboard_mgr; static struct wlr_cursor *cursor; static struct wlr_xcursor_manager *cursor_mgr; -#ifdef XWAYLAND -static struct wlr_xcursor *xcursor; -static struct wlr_xcursor_manager *xcursor_mgr; -#endif static struct wlr_seat *seat; static struct wl_list keyboards; @@ -1977,18 +1973,6 @@ setup(void) wl_signal_add(&xwayland->events.ready, &xwayland_ready); wl_signal_add(&xwayland->events.new_surface, &new_xwayland_surface); - /* - * Create the XWayland cursor manager at scale 1, setting its default - * pointer to match the rest of dwl. - */ - xcursor_mgr = wlr_xcursor_manager_create(NULL, 24); - wlr_xcursor_manager_load(xcursor_mgr, 1); - if ((xcursor = wlr_xcursor_manager_get_xcursor(xcursor_mgr, "left_ptr", 1))) - wlr_xwayland_set_cursor(xwayland, - xcursor->images[0]->buffer, xcursor->images[0]->width * 4, - xcursor->images[0]->width, xcursor->images[0]->height, - xcursor->images[0]->hotspot_x, xcursor->images[0]->hotspot_y); - setenv("DISPLAY", xwayland->display_name, 1); } else { fprintf(stderr, "failed to setup XWayland X server, continuing without it\n"); |