mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
sway: update to 1.6.1.
This commit is contained in:
parent
9d07fac57b
commit
c603ebe251
2 changed files with 3 additions and 28 deletions
|
@ -1,25 +0,0 @@
|
||||||
Sway 1.6 removed support for gtk-primary-selection, but some
|
|
||||||
programs (e.g. Firefox ESR 78) still rely on it.
|
|
||||||
Since wlroots will drop it in version 0.14, we can restore
|
|
||||||
this feature on sway.
|
|
||||||
https://github.com/swaywm/sway/pull/5788
|
|
||||||
https://github.com/swaywm/wlroots/issues/2421
|
|
||||||
https://github.com/swaywm/wlroots/pull/2460
|
|
||||||
--- a/sway/server.c
|
|
||||||
+++ b/sway/server.c
|
|
||||||
@@ -15,6 +15,7 @@
|
|
||||||
#include <wlr/types/wlr_data_control_v1.h>
|
|
||||||
#include <wlr/types/wlr_export_dmabuf_v1.h>
|
|
||||||
#include <wlr/types/wlr_gamma_control_v1.h>
|
|
||||||
+#include <wlr/types/wlr_gtk_primary_selection.h>
|
|
||||||
#include <wlr/types/wlr_idle.h>
|
|
||||||
#include <wlr/types/wlr_layer_shell_v1.h>
|
|
||||||
#include <wlr/types/wlr_pointer_constraints_v1.h>
|
|
||||||
@@ -75,6 +76,7 @@ bool server_init(struct sway_server *server) {
|
|
||||||
wlr_data_device_manager_create(server->wl_display);
|
|
||||||
|
|
||||||
wlr_gamma_control_manager_v1_create(server->wl_display);
|
|
||||||
+ wlr_gtk_primary_selection_device_manager_create(server->wl_display);
|
|
||||||
|
|
||||||
server->new_output.notify = handle_new_output;
|
|
||||||
wl_signal_add(&server->backend->events.new_output, &server->new_output);
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sway'
|
# Template file for 'sway'
|
||||||
pkgname=sway
|
pkgname=sway
|
||||||
version=1.6
|
version=1.6.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Dwerror=false -Db_ndebug=false"
|
configure_args="-Dwerror=false -Db_ndebug=false"
|
||||||
conf_files="/etc/sway/config"
|
conf_files="/etc/sway/config"
|
||||||
|
@ -14,7 +14,7 @@ maintainer="Olaf Mersmann <olafm@p-value.net>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://swaywm.org"
|
homepage="https://swaywm.org"
|
||||||
distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=9ecfd2f38239f7e90922a13cd348fc95fc059e8fa0e4b75b8ffcc7b61685a5fb
|
checksum=8b138867cd83217de07138144b1279fe58e0421eb10c91122aa33c8770fe7391
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue