June 19, 2026
7:55 a.m.
Rémi Bernon (@rbernon) commented about dlls/win32u/input.c:
return 0; }
+static struct pointer *allocate_pointerid( UINT32 id ); + static struct pointer_thread_data *get_pointer_thread_data(void) { struct user_thread_info *thread_info = get_user_thread_info(); if (!thread_info->pointer_data && (thread_info->pointer_data = calloc( 1, sizeof(*thread_info->pointer_data) ))) + { list_init( &thread_info->pointer_data->known_pointers ); + allocate_pointerid( 1 );
As mouse messages don't go through process_pointer_message, is it really useful to have a pointer struct for it to look it up? Could it just be hardcoded in GetPointerType instead? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11171#note_143585