Version: (using KDE 4.2.2) OS: Linux Installed from: Fedora RPMs As per http://www.xfree86.org/current/SMlib.pdf the SmRestartStyleHint property is a SmCard8, and a SmCard8 is a CARD8 which is an 8bit type. So apps that attempt to set a SmRestartNever of 3 end up with restartStyleHint13=-1202323453 in ~/.kde/share/config/ksmserverrc and get launched on the next session. The attached patch fixes up the types and give me the expected results that the app doesn't get launched in the next session
Created attachment 33154 [details] proposed patch to fix
Moving to KSMServer
SVN commit 960495 by lunakl: CARD8 is not int, thanks for the patch. BUG: 190811 M +1 -1 ksmserver/client.cpp M +2 -2 kwin/sm.cpp M +2 -2 libs/kworkspace/kworkspace.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=960495
SVN commit 960497 by lunakl: CARD8 is not int. CCBUG: 190811 M +1 -1 ksmserver/client.cpp M +2 -2 kwin/sm.cpp M +2 -2 libs/kworkspace/kworkspace.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=960497