summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-06-02 02:02:44 -0600
committerGitHub <noreply@github.com>2023-06-02 02:02:44 -0600
commit771b86d7c94df5bae53aa48a088a4f29cf601f34 (patch)
treee9756a70537a3e8af842b1009c5b77c1ee1d8bb5
parent1eaf40225f0dd27f7de0f12a38938ab50e942df4 (diff)
parentcc7905750d9b4788a15afe2a195fd763cb18ed4f (diff)
downloadnixpkgs-771b86d7c94df5bae53aa48a088a4f29cf601f34.tar
nixpkgs-771b86d7c94df5bae53aa48a088a4f29cf601f34.tar.gz
nixpkgs-771b86d7c94df5bae53aa48a088a4f29cf601f34.tar.bz2
nixpkgs-771b86d7c94df5bae53aa48a088a4f29cf601f34.tar.lz
nixpkgs-771b86d7c94df5bae53aa48a088a4f29cf601f34.tar.xz
nixpkgs-771b86d7c94df5bae53aa48a088a4f29cf601f34.tar.zst
nixpkgs-771b86d7c94df5bae53aa48a088a4f29cf601f34.zip
Merge pull request #235519 from wineee/cage-clear
cage: don't need wlroots-0_14.patch
-rw-r--r--pkgs/applications/window-managers/cage/wlroots-0_14.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/pkgs/applications/window-managers/cage/wlroots-0_14.patch b/pkgs/applications/window-managers/cage/wlroots-0_14.patch
deleted file mode 100644
index 2e56835f4fc..00000000000
--- a/pkgs/applications/window-managers/cage/wlroots-0_14.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 9a4523d47efeafd674d419169fe161e5a3b31cb3 Mon Sep 17 00:00:00 2001
-From: Jan Beich <jbeich@FreeBSD.org>
-Date: Thu, 3 Jun 2021 17:53:11 +0000
-Subject: [PATCH 1/3] view: chase swaywm/wlroots@9e58301df7f0
-
-view.c:238:52: error: no member named 'subsurfaces' in 'struct wlr_surface'
-        wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces, parent_link) {
-                                       ~~~~~~~~~~~~~~~~~  ^
-/usr/include/wayland-util.h:443:30: note: expanded from macro 'wl_list_for_each'
-        for (pos = wl_container_of((head)->next, pos, member);  \
-                                    ^~~~
-/usr/include/wayland-util.h:409:32: note: expanded from macro 'wl_container_of'
-        (__typeof__(sample))((char *)(ptr) -                            \
-                                      ^~~
-
-Based on https://github.com/swaywm/sway/commit/3162766eef14
----
- view.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/view.c b/view.c
-index b9ba9c2..3f3b0ed 100644
---- a/view.c
-+++ b/view.c
-@@ -235,7 +235,10 @@ view_map(struct cg_view *view, struct wlr_surface *surface)
- 	view->wlr_surface = surface;
- 
- 	struct wlr_subsurface *subsurface;
--	wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces, parent_link) {
-+	wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_below, parent_link) {
-+		subsurface_create(view, subsurface);
-+	}
-+	wl_list_for_each (subsurface, &view->wlr_surface->subsurfaces_above, parent_link) {
- 		subsurface_create(view, subsurface);
- 	}
-