mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kwin: default to no focus stealing prevention
the only reason I can think of to not give focus to window is when a okular in presentation mode or gwenview in fullscreen mode is the active window, i.e. a fullscreen window but that may need additional hint for the window manager Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e637b6dcdb
commit
3ee6dded37
2 changed files with 2 additions and 4 deletions
|
@ -269,9 +269,7 @@ void KFocusConfig::load(void)
|
||||||
// on by default for non click to focus policies
|
// on by default for non click to focus policies
|
||||||
setActiveMouseScreen(cg.readEntry(KWIN_ACTIVE_MOUSE_SCREEN, getFocus() != 0));
|
setActiveMouseScreen(cg.readEntry(KWIN_ACTIVE_MOUSE_SCREEN, getFocus() != 0));
|
||||||
|
|
||||||
// setFocusStealing( cg.readEntry(KWIN_FOCUS_STEALING, 2 ));
|
setFocusStealing(cg.readEntry(KWIN_FOCUS_STEALING, 0));
|
||||||
// TODO default to low for now
|
|
||||||
setFocusStealing(cg.readEntry(KWIN_FOCUS_STEALING, 1));
|
|
||||||
|
|
||||||
|
|
||||||
emit KCModule::changed(false);
|
emit KCModule::changed(false);
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="FocusStealingPreventionLevel" type="Int">
|
<entry name="FocusStealingPreventionLevel" type="Int">
|
||||||
<default>1</default>
|
<default>0</default>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>4</max>
|
<max>4</max>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
Loading…
Add table
Reference in a new issue