diff options
| author | Simon Zeni <[email protected]> | 2022-03-04 21:59:23 -0500 | 
|---|---|---|
| committer | Kirill Primak <[email protected]> | 2022-03-17 17:16:47 +0000 | 
| commit | 5766dc59474df90bf937fd91d3ba2c3badee8942 (patch) | |
| tree | e6c0b3c99ee272b44cf9deb872f07f7a4ba8a084 | |
| parent | e8a997d7cd2fba760c7c32140a287f63a85801f1 (diff) | |
tinywl: init cursor_mode
valgrind complains on a use-before-init for the cursor mode.
| -rw-r--r-- | tinywl.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -842,6 +842,7 @@ int main(int argc, char *argv[]) {  	 *  	 * And more comments are sprinkled throughout the notify functions above.  	 */ +	server.cursor_mode = TINYWL_CURSOR_PASSTHROUGH;  	server.cursor_motion.notify = server_cursor_motion;  	wl_signal_add(&server.cursor->events.motion, &server.cursor_motion);  	server.cursor_motion_absolute.notify = server_cursor_motion_absolute; | 
