Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gtk: fix context menu computed location (#5710)
When a tab bar is displayed, the context menu opened with right click is offset from the cursor. This was due to using the incorrect coordinate space for describing where to draw the context menu. [gtk_popover_set_pointing_to](https://docs.gtk.org/gtk4/method.Popover.set_pointing_to.html) uses the coordinate space of the popover's parent, however we used the active window's coordinate space which was noticeably different when the tab bar is visible. Before:  After: 
- Loading branch information