generated from deepin-community/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log:
- Loading branch information
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
wlroots (0.17.2-1deepin1) unstable; urgency=medium | ||
|
||
* Add deepin patchs | ||
|
||
-- xiangzelong <[email protected]> Wed, 08 May 2024 16:13:15 +0800 | ||
|
||
wlroots (0.17.2-1) experimental; urgency=medium | ||
|
||
* Upload to experimental to not disturb ongoing transitions | ||
|
24 changes: 24 additions & 0 deletions
24
debian/patches/emit-destroy-signal-in-destroy-function.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 293b0aa502d2e64d68290b1b615e9bd6d203d818 Mon Sep 17 00:00:00 2001 | ||
From: groveer <[email protected]> | ||
Date: Mon, 6 May 2024 15:42:18 +0800 | ||
Subject: [PATCH] wlr_pointer_gestures_v1: emit destroy signal in destroy | ||
function | ||
|
||
--- | ||
types/wlr_pointer_gestures_v1.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/types/wlr_pointer_gestures_v1.c b/types/wlr_pointer_gestures_v1.c | ||
index bd9e1f9eb..ebb1c8689 100644 | ||
--- a/types/wlr_pointer_gestures_v1.c | ||
+++ b/types/wlr_pointer_gestures_v1.c | ||
@@ -396,6 +396,7 @@ static void pointer_gestures_v1_bind(struct wl_client *wl_client, void *data, | ||
static void handle_display_destroy(struct wl_listener *listener, void *data) { | ||
struct wlr_pointer_gestures_v1 *gestures = | ||
wl_container_of(listener, gestures, display_destroy); | ||
+ wl_signal_emit_mutable(&gestures->events.destroy, NULL); | ||
wl_list_remove(&gestures->display_destroy.link); | ||
wl_global_destroy(gestures->global); | ||
free(gestures); | ||
-- | ||
GitLab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From dead0ebcc8cc0df26925b633040a39190eeb0c55 Mon Sep 17 00:00:00 2001 | ||
From: groveer <[email protected]> | ||
Date: Mon, 6 May 2024 15:11:36 +0800 | ||
Subject: [PATCH] wlr_pointer_gestures_v1: init destroy signal | ||
|
||
--- | ||
types/wlr_pointer_gestures_v1.c | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/types/wlr_pointer_gestures_v1.c b/types/wlr_pointer_gestures_v1.c | ||
index 0763f3ac34..bd9e1f9ebd 100644 | ||
--- a/types/wlr_pointer_gestures_v1.c | ||
+++ b/types/wlr_pointer_gestures_v1.c | ||
@@ -420,6 +420,8 @@ struct wlr_pointer_gestures_v1 *wlr_pointer_gestures_v1_create( | ||
return NULL; | ||
} | ||
|
||
+ wl_signal_init(&gestures->events.destroy); | ||
+ | ||
gestures->display_destroy.notify = handle_display_destroy; | ||
wl_display_add_destroy_listener(display, &gestures->display_destroy); | ||
|
||
-- | ||
GitLab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Revert-layer-shell-error-on-0-dimension-without-anchors.patch | ||
gles2-Avoid-crash-when-glGetInteger64vEXT-is-missing.patch | ||
emit-destroy-signal-in-destroy-function.patch | ||
init-destroy-signal.patch |