On Sun, May 10, 2020 at 08:42:55PM +0200, Volker Rümelin wrote: > Import win32 keyboard hooking code from project spice-gtk.
> +/* > + * This work is licensed under the terms of the GNU GPL, version 2 or > + * (at your option) any later version. See the COPYING file in the > + * top-level directory. > + */ Can you add the import note to the comment too? > +void win32_kbd_set_window(HWND hwnd); Can we use uint32_t here (or whatever HWND actually is) so the header can also be included on non-win32 machines? thanks, Gerd