Bug fixed ATTACHALL bug

This commit is contained in:
Alexis Jhon Gaspar 2023-10-21 22:48:39 +08:00
parent 683b21e083
commit 92ae6b9827

View file

@ -120,7 +120,7 @@ static Bool npisrelative = False;
"for win in $(printf '%s' \"$window\" | tr '\n' ':'); do unset IFS &&" \ "for win in $(printf '%s' \"$window\" | tr '\n' ':'); do unset IFS &&" \
"wid=$(printf '%s' \"$win\" | cut -d ' ' -f 1) &&" \ "wid=$(printf '%s' \"$win\" | cut -d ' ' -f 1) &&" \
"wname=$(printf '%s' \"$win\" | cut -d ' ' -f 2) &&" \ "wname=$(printf '%s' \"$win\" | cut -d ' ' -f 2) &&" \
"[ \"$wname\" = \"tabbed.tabbed\" ] &&" \ "[ \"$wname\" = \"(has no name)\" ] &&" \
"{ cwid=$(xwininfo -children -id \"$wid\" | grep '^ 0x' |" \ "{ cwid=$(xwininfo -children -id \"$wid\" | grep '^ 0x' |" \
"sed -e 's@^ *\\(0x[0-9a-f]*\\) \"\\([^\"]*\\)\".*@\\1@') &&" \ "sed -e 's@^ *\\(0x[0-9a-f]*\\) \"\\([^\"]*\\)\".*@\\1@') &&" \
"for id in $(printf '%s' \"$cwid\"); do xdotool windowreparent \"$id\" \"$rootid\"; done &&" \ "for id in $(printf '%s' \"$cwid\"); do xdotool windowreparent \"$id\" \"$rootid\"; done &&" \
@ -210,7 +210,6 @@ static Bool npisrelative = False;
} \ } \
} }
#if XRESOURCES_PATCH #if XRESOURCES_PATCH
/* /*
* Xresources preferences to load at startup * Xresources preferences to load at startup