Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gnome 42 support #418

Merged
merged 20 commits into from
Sep 18, 2022
Merged

Gnome 42 support #418

merged 20 commits into from
Sep 18, 2022

Conversation

hedning
Copy link
Member

@hedning hedning commented Sep 18, 2022

Fixes the buggy shadow when navigating workspaces by removing the offending box-shadow (probably due to changes in the upstream css engine). The border doesn't really stand out anymore if using the colored backgrounds.

Fixes DnD support. The ActionDispatcher is now shared between the keyboard and DnD since stage.grab now grabs all pointer input too, ie. the DnD and the keybind dispatcher need to listen for events on the same actor.

No longer does a disable/enable cycle on screen lock: https://gjs.guide/extensions/upgrading/gnome-shell-42.html#metadata-json

Also picked up the mentioned code from ccope#5 (couldn't test the touch support at the moment so left it off).

Only supports 42, so I created a gnome-40 branch, and will create a gnome-42 branch when this is merged.

closes #409, #417

Gelbana and others added 20 commits September 8, 2022 20:42
The class that ActionDispatcher is based on had some changes that needed
to be brought over to this class.

- Modal.pushModal() now returns a Clutter.Grab handle to allow easier
checking of specific grab states
- Clutter.Actor now does not emit key press events by default, this now
requires a flag to be set

Relevant changes: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045
These should ideally be generated using the gi-cli, as the packages are
a bit out of date.
stage.grab(actor) now also grabs all pointer events, so it ended up
blocking the DnD code.

Motion events would also leak to the underlying MetaWindow when we
released the native grab operation. A stage.grab also solves that
since it grabs pointer events away from the MetaWindow.
This at least due to the preference window

The new session-modes aren't supported by earlier versions either
@hedning
Copy link
Member Author

hedning commented Sep 18, 2022

Still relies on vertical-overview for gesture support, will probably fix that at some point.

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.

Support GNOME 42
4 participants