mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #238] [MERGED] CtrlCore: Fix issue with nested menubars on Wayland #258
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#258
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/238
Author: @klugier
Created: 3/15/2025
Status: ✅ Merged
Merged: 3/17/2025
Merged by: @mirek-fidler
Base:
master← Head:klugier/wayland-popups📝 Commits (2)
4ccc6a7CtrlCore: Fix issue with nested menubars on Wayland.81b9857Comment less invasive📊 Changes
1 file changed (+4 additions, -2 deletions)
View changed files
📝
uppsrc/CtrlCore/GtkCapture.cpp(+4 -2)📄 Description
This change fix the issue with lack of focus for nested menubars on Wayland. The issue was caused by unnecessary call to GrabMouse() function on Wayland. Moreover in GTK4 gdk_seat_grab and gdk_device_grab were removed (https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-grabs). So, sooner or later we should stop using them.
This is safe fix and I recommend it for 2025.1. It only affects Wayland, For X11 everything is the same.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.