mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-27 07:58:53 -04:00
fix: double create relative_pointer_manager
This commit is contained in:
parent
cca92ec50d
commit
48c34802f3
1 changed files with 0 additions and 2 deletions
|
|
@ -727,7 +727,6 @@ static unsigned int locked_mods = 0;
|
||||||
static void *exclusive_focus;
|
static void *exclusive_focus;
|
||||||
static struct wl_display *dpy;
|
static struct wl_display *dpy;
|
||||||
static struct wl_event_loop *event_loop;
|
static struct wl_event_loop *event_loop;
|
||||||
static struct wlr_relative_pointer_manager_v1 *pointer_manager;
|
|
||||||
static struct wlr_backend *backend;
|
static struct wlr_backend *backend;
|
||||||
static struct wlr_backend *headless_backend;
|
static struct wlr_backend *headless_backend;
|
||||||
static struct wlr_scene *scene;
|
static struct wlr_scene *scene;
|
||||||
|
|
@ -4782,7 +4781,6 @@ void setup(void) {
|
||||||
* clients from the Unix socket, manging Wayland globals, and so on. */
|
* clients from the Unix socket, manging Wayland globals, and so on. */
|
||||||
dpy = wl_display_create();
|
dpy = wl_display_create();
|
||||||
event_loop = wl_display_get_event_loop(dpy);
|
event_loop = wl_display_get_event_loop(dpy);
|
||||||
pointer_manager = wlr_relative_pointer_manager_v1_create(dpy);
|
|
||||||
/* The backend is a wlroots feature which abstracts the underlying input
|
/* The backend is a wlroots feature which abstracts the underlying input
|
||||||
* and output hardware. The autocreate option will choose the most
|
* and output hardware. The autocreate option will choose the most
|
||||||
* suitable backend based on the current environment, such as opening an
|
* suitable backend based on the current environment, such as opening an
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue