aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2014-12-14 06:26:15 +0800
committerdes <des@FreeBSD.org>2014-12-14 06:26:15 +0800
commita441e8098999f03d5a4a83eb09b7d77aac7c683c (patch)
treea953482731786963d3db8b115323a85ba01bf263 /x11
parent0bee3553d9249027b5649084cd7106c1eff31a37 (diff)
downloadfreebsd-ports-graphics-a441e8098999f03d5a4a83eb09b7d77aac7c683c.tar.gz
freebsd-ports-graphics-a441e8098999f03d5a4a83eb09b7d77aac7c683c.tar.zst
freebsd-ports-graphics-a441e8098999f03d5a4a83eb09b7d77aac7c683c.zip
Add upstream patch that allows the workspace switch to correctly recognize
the Mate window manager and enable additional features. https://github.com/mate-desktop/mate-panel/pull/240
Diffstat (limited to 'x11')
-rw-r--r--x11/mate-panel/Makefile1
-rw-r--r--x11/mate-panel/files/patch-applets_wncklet_workspace-switcher.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11/mate-panel/Makefile b/x11/mate-panel/Makefile
index d1707a47f96..f9f3879aab6 100644
--- a/x11/mate-panel/Makefile
+++ b/x11/mate-panel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mate-panel
PORTVERSION= 1.8.1
+PORTREVISION= 1
CATEGORIES= x11 mate
MASTER_SITES= MATE
DIST_SUBDIR= mate
diff --git a/x11/mate-panel/files/patch-applets_wncklet_workspace-switcher.c b/x11/mate-panel/files/patch-applets_wncklet_workspace-switcher.c
new file mode 100644
index 00000000000..8f1bdfc76e0
--- /dev/null
+++ b/x11/mate-panel/files/patch-applets_wncklet_workspace-switcher.c
@@ -0,0 +1,11 @@
+--- applets/wncklet/workspace-switcher.c.orig
++++ applets/wncklet/workspace-switcher.c
+@@ -143,7 +143,7 @@
+
+ if (!wm_name)
+ pager->wm = PAGER_WM_UNKNOWN;
+- else if (strcmp(wm_name, "Marco") == 0)
++ else if (strcmp(wm_name, "Metacity (Marco)") == 0)
+ pager->wm = PAGER_WM_MARCO;
+ else if (strcmp(wm_name, "Compiz") == 0)
+ pager->wm = PAGER_WM_COMPIZ;