Skip to content

Gtk4 enablement for Wayland support

Julien Ropé requested to merge jrope/vd_agent:gtk4 into master

Enable GTK4 build using a dedicated configure option. With this set and using GTK >= 3.98, the guest resolution is retrieved using the new gdk_monitor_*() functions.

The current code verifies that we can solve display mapping issues under Wayland by using GTK4.

  • Fixes BZ#1824610
  • Partial fix for BZ#1790904: with this patch, an additional (unneeded) window is still opened, BUT mouse events are now correctly handled on the expected window. This window being opened is not caused by the agent, so the fix will need to be done in another component.
Edited by Julien Ropé

Merge request reports