Skip to content
Snippets Groups Projects
Commit 8af5f82b authored by Akihiko Odaki's avatar Akihiko Odaki Committed by Gerd Hoffmann
Browse files

ui/gtk: Fix the implicit mouse ungrabbing logic


Although the grab menu item represents the tabbed displays, the old
implicit mouse ungrabbing logic changes the grab menu item even for
an untabbed display.

Leave the grab menu item when implicitly ungrabbing mouse for an
untabbed display. The new ungrabbing logic introduced in
gd_mouse_mode_change() strictly follows the corresponding grabbing
logic found in gd_button_event().

Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20221008140116.11473-1-akihiko.odaki@daynix.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 0468fe82
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment