diff options
author | Brian Bidulock | 2015-06-10 23:06:00 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 23:06:00 -0600 |
commit | 2999925bf0910022cf648f18935fa358a3412187 (patch) | |
tree | 71efb1014d087b27bc7e71c4fd10357253502f11 /classhint.patch | |
download | aur-2999925bf0910022cf648f18935fa358a3412187.tar.gz |
initial version
Diffstat (limited to 'classhint.patch')
-rw-r--r-- | classhint.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/classhint.patch b/classhint.patch new file mode 100644 index 000000000000..9db98f75f102 --- /dev/null +++ b/classhint.patch @@ -0,0 +1,15 @@ +diff -up src/wmMoonClock-1.27/Src/xutils.c.orig src/wmMoonClock-1.27/Src/xutils.c +--- src/wmMoonClock-1.27/Src/xutils.c.orig 2014-04-12 07:21:03.000000000 -0600 ++++ src/wmMoonClock-1.27/Src/xutils.c 2014-04-12 07:22:35.000000000 -0600 +@@ -228,8 +228,10 @@ void openXwindow(int argc, char *argv[], + * Activate hints + */ + XSetWMNormalHints(display, win, &mysizehints); ++ if (strrchr(wname, '/')) ++ wname = strrchr(wname, '/') + 1; + classHint.res_name = wname; +- classHint.res_class = wname; ++ classHint.res_class = "DockApp"; + XSetClassHint(display, win, &classHint); + + |