summaryrefslogtreecommitdiffstats
path: root/source/xap/xsane/xsane-0.998-wmclass.patch
blob: 4fd84ba0b09631707b6a7baaa0319d5aa2bf80c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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