Skip to content

WindowMenu: Fix move/resize actions - #2896

Merged
lenemter merged 2 commits into
mainfrom
leolost/fix-move-resize
Aug 12, 2026
Merged

WindowMenu: Fix move/resize actions#2896
lenemter merged 2 commits into
mainfrom
leolost/fix-move-resize

Conversation

@leolost2605

Copy link
Copy Markdown
Member

The issue was that we didn't provide a device when calling window.begin_grab_op.

While here I used the opportunity to move the logic to the WindowMenuManager. Since there we now know for which window we are showing the window menu we don't have to do the workaround with set_grab_trigger and instead can begin the grab op immediately.
This brings the little UX improvement that now after you click the move menu item your cursor immediately jumps to the center of the window and becomes the move cursor whereas with the old version (if it would work) it would only do that once you move the cursor a bit which might be confusing for users.

Since I don't think anybody else uses these actions via dbus I deprecated them and removed the related code from window manager.

@leolost2605
leolost2605 force-pushed the leolost/fix-move-resize branch from 0f230a0 to b1ae37c Compare August 12, 2026 16:32
@leolost2605
leolost2605 requested a review from a team August 12, 2026 16:32
@leolost2605
leolost2605 force-pushed the leolost/fix-move-resize branch from b1ae37c to 097ff00 Compare August 12, 2026 16:35
@lenemter
lenemter merged commit 51089af into main Aug 12, 2026
7 checks passed
@lenemter
lenemter deleted the leolost/fix-move-resize branch August 12, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants