From bb1f0b19e2804a4372115c066975e4b51bfb4501 Mon Sep 17 00:00:00 2001 From: ShadowKyogre Date: Fri, 22 Apr 2016 00:18:24 -0700 Subject: [PATCH] Add additional compiz check Compiz Reloaded / Compiz 0.8.x reports itself with a lowercase compiz. --- tdrop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tdrop b/tdrop index 2ab44a2..cbd7f16 100755 --- a/tdrop +++ b/tdrop @@ -340,7 +340,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|Metacity \(Marco\)|Compiz)$ ]]; then + if [[ $wm =~ ^(pekwm|Fluxbox|Blackbox|xfwm4|Metacity|FVWM|Sawfish|GoomwW|Mutter|GNOME Shell|Mutter \(Muffin\)|KWin|Metacity \(Marco\)|[Cc]ompiz)$ ]]; then combine_map_post=true map_post() { xdotool windowmap "$1" windowmove "$1" "$2" "$3" @@ -368,7 +368,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|Metacity \(Marco\)|Compiz)$ ]]; then + elif [[ $wm =~ ^(pekwm|Fluxbox|Blackbox|xfwm4|Metacity|FVWM|Sawfish|GoomwW|Mutter|GNOME Shell|Mutter \(Muffin\)|KWin|Metacity \(Marco\)|[Cc]ompiz)$ ]]; 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