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

Require gtk-layer-shell #2836

Merged
merged 5 commits into from
Feb 19, 2024
Merged

Conversation

alebastr
Copy link
Contributor

@alebastr alebastr commented Jan 16, 2024

BREAKING CHANGE: gtk-layer-shell is now required and unconditionally used. The corresponding config option is removed.

As a part of preparation for future versions of GTK, remove an ability to use wlr-layer-shell directly. The APIs it required were dropped in GTK4, and with the menus/tooltips positioning issue being practically unsolvable it doesn't make sense to keep maintaining the code.

See: #2815

BREAKING CHANGE: gtk-layer-shell is now required and unconditionally
used. The corresponding config option is removed.

As a part of preparation for future versions of GTK, remove an ability
to use wlr-layer-shell directly. The APIs it required were dropped in
GTK4, and with the menus/tooltips positioning issue being practically
unsolvable it doesn't make sense to keep maintaining the code.
`gtk_layer_set_keyboard_interactivity()` is deprecated and was removed
in gtk4-layer-shell.
Note that this bumps version requirement to 0.6.0
@alebastr alebastr marked this pull request as ready for review February 17, 2024 19:30
`string_view` leads to UAF when reading custom mode definitions from the
configuration.
With only one implementation left, the abstraction is no longer
necessary.
@Alexays
Copy link
Owner

Alexays commented Feb 19, 2024

Merging it to be apart of the upcoming release of the next month.
Thanks Aleksei!

@Alexays Alexays merged commit bba8da7 into Alexays:master Feb 19, 2024
7 of 9 checks passed
@alebastr alebastr deleted the require-gtk-layer-shell branch February 19, 2024 22:48
brettalcox added a commit to brettalcox/gentoo that referenced this pull request Feb 24, 2024
requiring gtk-layer-shell in 9999 as it is now
unconditionally required as a dependency.

See Alexays/Waybar#2836

Signed-off-by: brettalcox <brettalcox@gmail.com>
brettalcox added a commit to brettalcox/gentoo that referenced this pull request Feb 24, 2024
requiring gtk-layer-shell in 9999 as it is now
unconditionally required as a dependency.

See Alexays/Waybar#2836
Closes: https://bugs.gentoo.org/925017

Signed-off-by: brettalcox <brettalcox@gmail.com>
brettalcox added a commit to brettalcox/gentoo that referenced this pull request Feb 24, 2024
requiring gtk-layer-shell in 9999 as it is now
unconditionally required as a dependency.

See Alexays/Waybar#2836
Closes: https://bugs.gentoo.org/925017

Signed-off-by: brettalcox <brettalcox@gmail.com>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Feb 26, 2024
requiring gtk-layer-shell in 9999 as it is now
unconditionally required as a dependency.

See Alexays/Waybar#2836

Closes: https://bugs.gentoo.org/925017
Closes: #35514
Signed-off-by: brettalcox <brettalcox@gmail.com>
Acked-by: Julien Roy <julien@jroy.ca>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
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