xsane/SOURCES/xsane-0.998-wmclass.patch

34 lines
858 B
Diff
Raw Permalink Normal View History

2021-11-03 04:10:57 +00:00
From a0b23d7e1991b23e2b9ab78bf382c55b9e24cfb9 Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils@redhat.com>
Date: Fri, 25 May 2012 11:47:39 +0200
Subject: [PATCH] patch: wmclass
Squashed commit of the following:
commit d42b7a9dbe397a301373e3cbaa589540a1475a0b
Author: Nils Philippsen <nils@redhat.com>
Date: Fri May 25 11:45:48 2012 +0200
set program name -> wmclass to match desktop file name
---
src/xsane.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/xsane.c b/src/xsane.c
index 8b24b0c..eee76ff 100644
--- a/src/xsane.c
+++ b/src/xsane.c
@@ -6208,6 +6208,9 @@ int main(int argc, char **argv)
xsane.ipc_pipefd[1] = 0;
}
+ /* Set program name -> wmclass to match desktop file name */
+ g_set_prgname("xsane");
+
#if 0
bindtextdomain(PACKAGE, STRINGIFY(LOCALEDIR));
textdomain(PACKAGE);
--
1.7.11.4