From b74a977626ff15d7c50a90f79d8f4f7a3899cfe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 19 Dec 2003 18:10:04 +0000 Subject: [PATCH] Fix #67032. svn path=/trunk/kdebase/kwin/; revision=273899 --- layers.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layers.cpp b/layers.cpp index ca815f5e9a..213c70860a 100644 --- a/layers.cpp +++ b/layers.cpp @@ -663,7 +663,10 @@ Layer Client::belongsToLayer() const return DockLayer; if( isTopMenu()) return DockLayer; - bool raise_special_active_windows = ( options->focusPolicy == Options::ClickToFocus || options->autoRaise ); + // TODO this feature doesn't work very well with mouse focus policies - window A gets focus in, and is + // raised, but if meanwhile B gets focus in, A is lowered below B again, then the focus in for A + // is processed, A is raised above B, but meanwhile B's focus in is processed ... + bool raise_special_active_windows = options->focusPolicy == Options::ClickToFocus; // || options->autoRaise ); if( isDialog() && workspace()->activeClient() == this && raise_special_active_windows ) return ActiveLayer; if( keepAbove())