Compare commits

...

2 commits

2 changed files with 2 additions and 2 deletions

View file

@ -502,6 +502,7 @@ static const Rule rules[] = {
*/ */
RULE(.class = "st", .isterminal = 1) RULE(.class = "st", .isterminal = 1)
RULE(.class = "St", .isterminal = 1) RULE(.class = "St", .isterminal = 1)
RULE(.class = "tabbed", .isfloating = 0)
RULE(.wintype = WTYPE "DESKTOP", .unmanaged = 2) RULE(.wintype = WTYPE "DESKTOP", .unmanaged = 2)
RULE(.wintype = WTYPE "DOCK", .unmanaged = 1) RULE(.wintype = WTYPE "DOCK", .unmanaged = 1)
RULE(.wintype = WTYPE "DIALOG", .isfloating = 1, .noswallow = 1) RULE(.wintype = WTYPE "DIALOG", .isfloating = 1, .noswallow = 1)

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