From b737354f227c407500b96134136b7e78c701378f Mon Sep 17 00:00:00 2001 From: angelic-sedition Date: Mon, 24 Aug 2015 18:36:43 -0400 Subject: [PATCH] Add support for Marco (MATE) --- README.md | 3 ++- tdrop | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4b17e0e..f8c0ad1 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,9 @@ That said, these are the floating window managers that currently have '-a' setti - muffin (cinnamon) - xfwm4 (xfce) - metacity (gnome 2) +- marco (mate) - kwin (kde) -- openbox +- openbox (lxde) - pekwm - fluxbox - blackbox diff --git a/tdrop b/tdrop index 82866c9..d9db189 100755 --- a/tdrop +++ b/tdrop @@ -215,7 +215,7 @@ wm_autoset_for_hide_show() { subtract_when_same=false fi - if [[ $wm =~ ^(pekwm|Fluxbox|Blackbox|xfwm4|Metacity|FVWM|Sawfish|GoomwW|Mutter|GNOME Shell|Mutter \(Muffin\)|KWin)$ ]]; then + if [[ $wm =~ ^(pekwm|Fluxbox|Blackbox|xfwm4|Metacity|FVWM|Sawfish|GoomwW|Mutter|GNOME Shell|Mutter \(Muffin\)|KWin|Metacity \(Marco\))$ ]]; then combine_map_post=true map_post() { xdotool windowmap "$1" windowmove "$1" "$2" "$3" @@ -245,7 +245,7 @@ wm_autoset_for_dropdown() { windowsize "$1" "$width" "$height" } # floating window managers that may move a window after unmapping then mapping it - elif [[ $wm =~ ^(pekwm|Fluxbox|Blackbox|xfwm4|Metacity|FVWM|Sawfish|GoomwW|Mutter|GNOME Shell|Mutter \(Muffin\)|KWin)$ ]]; then +elif [[ $wm =~ ^(pekwm|Fluxbox|Blackbox|xfwm4|Metacity|FVWM|Sawfish|GoomwW|Mutter|GNOME Shell|Mutter \(Muffin\)|KWin|Metacity \(Marco\))$ ]]; then # most will center # mutter/gnome shell will move to top centerish (just below panel on gnome shell) # xfwm4 will normally move to top left; metacity will move close to top left