public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libwnck] rawhide: Backport upstream patch to ignore non-_NEW_WM actions
@ 2026-06-20 13:33 Mamoru TASAKA
  0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-06-20 13:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libwnck
Branch : rawhide
Commit : 3b7c681c42aae89795027bf01e730632866d4136
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2026-05-21T16:53:25+09:00
Stats  : +37/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/libwnck/c/3b7c681c42aae89795027bf01e730632866d4136?branch=rawhide

Log:
Backport upstream patch to ignore non-_NEW_WM actions

---
diff --git a/libwnck-3_20_0-ignore-unhandled-non-NET_WM-actions.patch b/libwnck-3_20_0-ignore-unhandled-non-NET_WM-actions.patch
new file mode 100644
index 0000000..2e360b7
--- /dev/null
+++ b/libwnck-3_20_0-ignore-unhandled-non-NET_WM-actions.patch
@@ -0,0 +1,28 @@
+From 7da939976014f791b9643b79bdefa2bc01a3b0b0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
+Date: Mon, 25 Apr 2016 16:22:38 +0200
+Subject: [PATCH] Window: ignore unhandled non-_NET_WM actions
+
+https://bugzilla.gnome.org/show_bug.cgi?id=765453
+---
+ libwnck/window.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/libwnck/window.c b/libwnck/window.c
+index de425f75..033fe4b7 100644
+--- a/libwnck/window.c
++++ b/libwnck/window.c
+@@ -2984,7 +2984,9 @@ update_actions (WnckWindow *window)
+       else
+         {
+           const char *name = _wnck_atom_name (atoms [i]);
+-          g_warning ("Unhandled action type %s", name ? name: "(nil)");
++
++          if (name && g_str_has_prefix (name, "_NET_WM_"))
++            g_warning ("Unhandled action type %s", name);
+         }
+ 
+       i++;
+-- 
+GitLab
+

diff --git a/libwnck.spec b/libwnck.spec
index 0628af1..7bd36b5 100644
--- a/libwnck.spec
+++ b/libwnck.spec
@@ -1,10 +1,14 @@
 Summary: Window Navigator Construction Kit
 Name: libwnck
 Version: 2.31.0
-Release: 28%{?dist}
+Release: 29%{?dist}
 URL: http://download.gnome.org/sources/libwnck/
 #VCS: git:git://git.gnome.org/libwnck
 Source0: http://download.gnome.org/sources/libwnck/2.31/%{name}-%{version}.tar.xz
+# https://gitlab.gnome.org/GNOME/libwnck/-/commit/7da939976014f791b9643b79bdefa2bc01a3b0b0
+# https://bugzilla.gnome.org/show_bug.cgi?id=765453
+# Included in 3.20.0
+Patch0:  libwnck-3_20_0-ignore-unhandled-non-NET_WM-actions.patch
 # Automatically converted from old format: LGPLv2+ - review is highly recommended.
 License: LicenseRef-Callaway-LGPLv2+
 
@@ -37,6 +41,7 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 
@@ -69,6 +74,9 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/wnck-urgency-monitor
 %doc %{_datadir}/gtk-doc
 
 %changelog
+* Tue May 19 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.31.0-29
+- Backport upstream patch to ignore non-_NEW_WM actions
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.31.0-28
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-20 13:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-20 13:33 [rpms/libwnck] rawhide: Backport upstream patch to ignore non-_NEW_WM actions Mamoru TASAKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox