No need for a hard reset for SettingButtons changes, KCommonDecoration can handle button reset.
svn path=/trunk/kdebase/kwin/; revision=399854
This commit is contained in:
parent
e70e385bf9
commit
2fd48c13e9
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Plastik KWin window decoration
|
||||
Copyright (C) 2003 Sandro Giessl <ceebx@users.sourceforge.net>
|
||||
Copyright (C) 2003-2005 Sandro Giessl <sandro@giessl.com>
|
||||
|
||||
based on the window decoration "Web":
|
||||
Copyright (C) 2001 Rik Hemsley (rikkus) <rik@kde.org>
|
||||
|
@ -120,6 +120,9 @@ bool PlastikHandler::reset(unsigned long changed)
|
|||
if (changed & SettingColors || changed & SettingFont)
|
||||
{
|
||||
needHardReset = false;
|
||||
} else if (changed & SettingButtons) {
|
||||
// handled by KCommonDecoration
|
||||
needHardReset = false;
|
||||
}
|
||||
|
||||
if (needHardReset) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Plastik KWin window decoration
|
||||
Copyright (C) 2003 Sandro Giessl <ceebx@users.sourceforge.net>
|
||||
Copyright (C) 2003-2005 Sandro Giessl <sandro@giessl.com>
|
||||
|
||||
based on the window decoration "Web":
|
||||
Copyright (C) 2001 Rik Hemsley (rikkus) <rik@kde.org>
|
||||
|
|
Loading…
Reference in a new issue