From ff82383f8d8acdc684468a3176e1d048a795209b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=C4=8Cuki=C4=87?= Date: Sun, 14 Nov 2010 08:45:55 +0000 Subject: [PATCH] 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 --- manage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manage.cpp b/manage.cpp index f4bac4e3c0..55e89c527d 100644 --- a/manage.cpp +++ b/manage.cpp @@ -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