Don't keep WIDs for windows that have been closed

Fixes a bug where the wrong window id could be used after creating a new
dropdown in the map_post_command or for set_geometry_for_monitor
long-opts
noctuid 9 years ago
parent 93b5947029
commit f5c81e6acd

@ -514,6 +514,7 @@ wid_toggle() {
if [[ -z $visibility ]] || [[ -z $(xprop -id "$wid") ]]; then
# window no longer exists
exists=false
> /tmp/tdrop/"$term$num"
fi
else
exists=false

Loading…
Cancel
Save