Skip to content

gdksurface-win32.c: Fix window menu positioning (issue #3704)

Chun-wei Fan requested to merge fix-3704 into master

Hi,

From the commit message:

We ought to get the coordinates of where the window menu should be displayed using gdk_win32_surface_get_root_coords(), instead of rounding the position that we obtained with gdk_event_get_position().

Also rename items a bit in the same function, and call gdk_event_get_event_type() for consistency with the other backends.

Fixes issue #3704 (closed).

This will be for the master and gtk-4.0 branches.

With blessings, thank you!

Merge request reports