Add patch to better group running wine programs in WMs.

This commit is contained in:
Michael Müller
2014-08-16 01:22:35 +02:00
parent 96d0db4493
commit 533f33055c
4 changed files with 54 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
From 55d50964170f5fd8cf75b5e4e7ca109a60875980 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sat, 16 Aug 2014 01:17:27 +0200
Subject: winex11: Prevent window managers from grouping all wine programs
together.
---
dlls/winex11.drv/window.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 06e2294..e715642 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -842,10 +842,8 @@ static void set_initial_wm_hints( Display *display, Window window )
/* class hints */
if ((class_hints = XAllocClassHint()))
{
- static char wine[] = "Wine";
-
class_hints->res_name = process_name;
- class_hints->res_class = wine;
+ class_hints->res_class = process_name;
XSetClassHint( display, window, class_hints );
XFree( class_hints );
}
--
1.9.1

View File

@@ -0,0 +1,4 @@
Author: Michael Müller
Subject: Prevent window managers from grouping all wine programs together.
Revision: 1
Fixes: [32699] Prevent window managers from grouping all wine programs together