|
From: | Gerd Hoffmann |
Subject: | Re: [PATCH v2 02/11] ui/gtk: fix handling of AltGr key on Windows |
Date: | Tue, 19 May 2020 08:59:12 +0200 |
> +static void *gd_win32_get_hwnd(VirtualConsole *vc) > +{ > +#ifdef G_OS_WIN32 > + return gdk_win32_window_get_impl_hwnd( > + gtk_widget_get_window(vc->window ? vc->window : vc->s->window)); Can we move the gdk_win32_window_get_impl_hwnd() call to win32_kbd_set_window()? That should remove the G_OS_WIN32 #ifdefs completely. thanks, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |