diff options
Diffstat (limited to 'meta-xfce/recipes-apps/xfce4-terminal/files/0001-build-Properly-guard-wayland-code.patch')
| -rw-r--r-- | meta-xfce/recipes-apps/xfce4-terminal/files/0001-build-Properly-guard-wayland-code.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-xfce/recipes-apps/xfce4-terminal/files/0001-build-Properly-guard-wayland-code.patch b/meta-xfce/recipes-apps/xfce4-terminal/files/0001-build-Properly-guard-wayland-code.patch new file mode 100644 index 0000000000..4f46e8a8d7 --- /dev/null +++ b/meta-xfce/recipes-apps/xfce4-terminal/files/0001-build-Properly-guard-wayland-code.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From b07d9546a08a3cd70b7e9aaad7a86256fbe32b8b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org> | ||
| 3 | Date: Sun, 8 Mar 2026 22:23:34 +0100 | ||
| 4 | Subject: [PATCH] build: Properly guard wayland code | ||
| 5 | |||
| 6 | Closes: #383 | ||
| 7 | Fixes: ab0136ac39d1eb0849dcfca84bbd91e8562a7176 | ||
| 8 | |||
| 9 | Upstream-Status: Backport [https://gitlab.xfce.org/apps/xfce4-terminal/-/commit/b07d9546a08a3cd70b7e9aaad7a86256fbe32b8b] | ||
| 10 | |||
| 11 | Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> | ||
| 12 | --- | ||
| 13 | terminal/terminal-window-dropdown.c | 2 ++ | ||
| 14 | 1 file changed, 2 insertions(+) | ||
| 15 | |||
| 16 | diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c | ||
| 17 | index 6f9e3b48..074a6ce0 100644 | ||
| 18 | --- a/terminal/terminal-window-dropdown.c | ||
| 19 | +++ b/terminal/terminal-window-dropdown.c | ||
| 20 | @@ -567,11 +567,13 @@ terminal_window_dropdown_finalize (GObject *object) | ||
| 21 | if (dropdown->animation_timeout_id != 0) | ||
| 22 | g_source_remove (dropdown->animation_timeout_id); | ||
| 23 | |||
| 24 | +#ifdef HAVE_GTK_LAYER_SHELL | ||
| 25 | if (dropdown->set_monitor_idle_id != 0) | ||
| 26 | g_source_remove (dropdown->set_monitor_idle_id); | ||
| 27 | |||
| 28 | if (dropdown->monitor_removed_idle_id != 0) | ||
| 29 | g_source_remove (dropdown->monitor_removed_idle_id); | ||
| 30 | +#endif | ||
| 31 | |||
| 32 | if (dropdown->status_icon != NULL) | ||
| 33 | g_object_unref (G_OBJECT (dropdown->status_icon)); | ||
| 34 | -- | ||
| 35 | 2.51.2 | ||
