Borderless windows by default on all activities:

- plasma extenders (callendar etc.)
 - applet browser, activity manager
 - programs like chromium - since there's no border, there is
   no obvious way of moving them between activities.
   (alt+f3 menu is not commonly known)


svn path=/trunk/KDE/kdebase/workspace/; revision=1196797
This commit is contained in:
Ivan Čukić 2010-11-14 08:45:55 +00:00
parent 83fc2822a6
commit ff82383f8d

View file

@ -45,7 +45,7 @@ namespace KWin
bool Client::manage( Window w, bool isMapped )
{
StackingUpdatesBlocker stacking_blocker( workspace() );
//Scripting call. Does not use a signal/slot mechanism
//as ensuring connections was a bit difficult between
//so many clients and the workspace
@ -207,7 +207,7 @@ bool Client::manage( Window w, bool isMapped )
desk = info->desktop(); // Window had the initial desktop property, force it
if( desktop() == 0 && asn_valid && asn_data.desktop() != 0 )
desk = asn_data.desktop();
if (!isMapped && isNormalWindow() && isOnAllActivities()) {
if (!isMapped && !noborder && isNormalWindow() && isOnAllActivities()) {
//a new, regular window, when we're not recovering from a crash,
//and it hasn't got an activity. let's try giving it the current one.
//TODO: decide whether to keep this before the 4.6 release