I start a few applications iconified, particularly League of Legends through 
wine.

I recently upgrade from the older 3.8.2 that was in my package manager to the 
latest source version.


StartIconified {"League of Legends.exe" "League of Legends (TM) Client"} #both 
are either class names or window names from the identify function


Earlier, the application would start iconified, but as of updating is maximized 
pretty much as soon as it starts.
 (the application in question is not launched explicitly, but rather from 
within another application also run with wine, if that matters).

Other applications I tried seem to be starting iconified if they appear in the 
window list.


(As a sidenote when I tried making a minimal twmrc to check for issues, it 
appears WorkSpaceManagerGeometry is a required line, as X crashes without it 
appearing in my .twmrc (without there being any other workspace options))


Below is the somewhat minimal .ctwmrc I used to reproduce the issue:


RandomPlacement
WorkSpaceManagerGeometry "1x1-0-0" 4

Function "move-or-lower" { f.move f.deltastop f.lower }
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-iconify" { f.move f.deltastop f.iconify }

Button1 = : root : f.menu "defops"
Button1 = m4 : window|icon|title : f.function "move-or-raise"
Button2 = m4 : window|icon|title : f.resize
Button3 = m4 : window|icon|title : f.function "move-or-lower"

menu "defops"
{
"TWM" f.title
"Force Move"  f.forcemove
"Identify"  f.identify
"Terminal"  !"xfce4-terminal &"
"xterm"   !"xterm &"
"Kill"    f.destroy
"Restart" f.restart
"!" f.nop #unicode test
"Exit"    f.quit
}

"F8"  = : all   : f.iconify

"KP_4" = shift mod1 : all : f.jumpleft "20"
"KP_6" = shift mod1 : all : f.jumpright "20"
"KP_8" = shift mod1 : all : f.jumpup "20"
"KP_2" = shift mod1 : all : f.jumpdown "20"

StartIconified {"League of Legends.exe" "League of Legends (TM) Client"}
NoTitle {"League of Legends.exe"}
NoBorder {"League of Legends.exe"}
DontSetInactive {"#League of Legends.exe"}
IgnoreTransient{"#Wine" "#League of Legends.exe"}

Reply via email to