1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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
This commit is contained in:
Dag-Erling Smørgrav 2014-12-13 22:26:15 +00:00
parent fbf520bc22
commit 5409397ca7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374688
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= mate-panel
PORTVERSION= 1.8.1
PORTREVISION= 1
CATEGORIES= x11 mate
MASTER_SITES= MATE
DIST_SUBDIR= mate

View File

@ -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;