Fix i3 auto_show bug

Previously would resize window when re-mapping; desired behaviour is to
keep previous size
long-opts
angelic-sedition 9 years ago
parent 271d991ce2
commit 867c3a97e2

@ -139,7 +139,7 @@ wm_autoset_for_both() {
} }
map_post() { map_post() {
i3-msg "[id=$1] floating enable" > /dev/null && \ i3-msg "[id=$1] floating enable" > /dev/null && \
xdotool windowmove "$1" "$xoff" "$yoff" windowsize "$1" "$width" "$height" xdotool windowmove "$1" "$xoff" "$yoff"
} }
fi fi
} }

Loading…
Cancel
Save