Skip to content

feat: Enable Wayland draggable regions#200

Merged
YoavCodes merged 2 commits intoblackboardsh:mainfrom
CrystalNetworkST:feat/wayland-draggable-region
Mar 7, 2026
Merged

feat: Enable Wayland draggable regions#200
YoavCodes merged 2 commits intoblackboardsh:mainfrom
CrystalNetworkST:feat/wayland-draggable-region

Conversation

@CrystalNetworkST
Copy link

What I changed

I ripped out the manual mouse event handling (gdk_seat_grab, motion listeners, etc.) and replaced it with gtk_window_begin_move_drag.
This is the "correct" way to do it in GTK—it just tells the Window Manager "hey, the user is dragging this window, you handle it."

Copy link
Member

@YoavCodes YoavCodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@YoavCodes YoavCodes merged commit 503fd87 into blackboardsh:main Mar 7, 2026
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