--Boundary-00=_swoy9b4Fhfntmwe Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, This one fixes kstart so that at least it doesn't accept to move a window to a wrong desktop. Note that there are other ways to do that, but at least we make it more difficult this way. Can I commit? Greetings, -- Antonio Larrosa Jimenez KDE core developer - larrosa@kde.org http://devel-home.kde.org/~larrosa/ Search for beauty, it's the only thing which is worth in this nasty world. --Boundary-00=_swoy9b4Fhfntmwe Content-Type: text/x-diff; charset="us-ascii"; name="kstart.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kstart.diff" Index: kstart.cpp =================================================================== RCS file: /home/kde/kdebase/kstart/kstart.cpp,v retrieving revision 1.39 diff -u -p -r1.39 kstart.cpp --- kstart.cpp 2002/09/08 10:50:29 1.39 +++ kstart.cpp 2002/11/07 15:24:00 @@ -144,7 +144,7 @@ void KStart::applyStyle(WId w ) { NETWinInfo info( qt_xdisplay(), w, qt_xrootwin(), NET::WMState ); - if (desktop != 0) + if (desktop != 0 && desktop <= kwinmodule->numberOfDesktops() ) info.setDesktop( desktop ); if (iconify) { --Boundary-00=_swoy9b4Fhfntmwe--