Use a more sane default for delay focus and autoraise in FFM
At the same time ensuring that KCM and KWin::Options use the same value. Should be ported to KConfigXT some day. REVIEW: 108288
This commit is contained in:
parent
47da2464f3
commit
51ce05e445
2 changed files with 3 additions and 3 deletions
|
@ -241,7 +241,7 @@ void KFocusConfig::load(void)
|
|||
int k = cg.readEntry(KWIN_AUTORAISE_INTERVAL, 750);
|
||||
setAutoRaiseInterval(k);
|
||||
|
||||
k = cg.readEntry(KWIN_DELAYFOCUS_INTERVAL, 750);
|
||||
k = cg.readEntry(KWIN_DELAYFOCUS_INTERVAL, 300);
|
||||
setDelayFocusInterval(k);
|
||||
|
||||
setAutoRaise(cg.readEntry(KWIN_AUTORAISE, false));
|
||||
|
|
|
@ -673,10 +673,10 @@ public:
|
|||
return false;
|
||||
}
|
||||
static int defaultAutoRaiseInterval() {
|
||||
return 0;
|
||||
return 750;
|
||||
}
|
||||
static int defaultDelayFocusInterval() {
|
||||
return 0;
|
||||
return 300;
|
||||
}
|
||||
static bool defaultShadeHover() {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue