Add support for Marco (MATE)

long-opts
angelic-sedition 9 years ago
parent 5cab6f4869
commit b737354f22

@ -83,8 +83,9 @@ That said, these are the floating window managers that currently have '-a' setti
- muffin (cinnamon) - muffin (cinnamon)
- xfwm4 (xfce) - xfwm4 (xfce)
- metacity (gnome 2) - metacity (gnome 2)
- marco (mate)
- kwin (kde) - kwin (kde)
- openbox - openbox (lxde)
- pekwm - pekwm
- fluxbox - fluxbox
- blackbox - blackbox

@ -215,7 +215,7 @@ wm_autoset_for_hide_show() {
subtract_when_same=false subtract_when_same=false
fi 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 combine_map_post=true
map_post() { map_post() {
xdotool windowmap "$1" windowmove "$1" "$2" "$3" xdotool windowmap "$1" windowmove "$1" "$2" "$3"
@ -245,7 +245,7 @@ wm_autoset_for_dropdown() {
windowsize "$1" "$width" "$height" windowsize "$1" "$width" "$height"
} }
# floating window managers that may move a window after unmapping then mapping it # 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 # most will center
# mutter/gnome shell will move to top centerish (just below panel on gnome shell) # 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 # xfwm4 will normally move to top left; metacity will move close to top left

Loading…
Cancel
Save