diff options
| author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-17 19:03:23 -0600 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-17 19:03:23 -0600 | 
| commit | fcf324be6c661617a835ee504cb160c7d415d2e0 (patch) | |
| tree | 8851d0555ce7aa74a47d97deb47cf7d5fa957780 /dwl.c | |
| parent | b8e933b9a9bcbdb9c1f07f077d12cfec03cd5b28 (diff) | |
fix the position of the cursor image after turning all the monitors on
Diffstat (limited to '')
| -rw-r--r-- | dwl.c | 7 | 
1 files changed, 7 insertions, 0 deletions
| @@ -2622,6 +2622,13 @@ updatemons(struct wl_listener *listener, void *data)  		}  	} +	/* FIXME: figure out why the cursor image is at 0,0 after turning all +	 * the monitors on. +	 * Move the cursor image where it used to be. It does not generate a +	 * wl_pointer.motion event for the clients, it's only the image what it's +	 * at the wrong position after all. */ +	wlr_cursor_move(cursor, NULL, 0, 0); +  	wlr_output_manager_v1_set_configuration(output_mgr, config);  } | 
