Created attachment 8332 Replace gdk_screen_get_active_window by Xlib functions This patch replaces deprecated 'gdk_screen_get_active_window' function. It uses Xlib and Gdk/Gdk-X11.
Thanks for the patch, I really appreciate, but that's something I want to postpone until gtk4, too much code for one single function :sigh:
Problem with G_GNUC_..._IGNORE_DEPRECATIONS macros work only with GCC, with another compiler (e.g., Clang, which is the default compiler on FreeBSD for architectures like amd64, i386 and arm64), we still have warning messages.
Fair enough, I pushed your patch to master, thanks. We still have gdk_window_process_all_updates wrapped by those macros, but I'm not sure if it's safe to just remove this function.