Extend the kconf update for 4.4 so that desktop switch on screen edge does not get disabled by quick maximize/tiling.
Changing the id, so that the script gets executed for those who already run it (tabbox settings will not be changed when the script runs once, so it's safe). BUG: 217770 svn path=/trunk/KDE/kdebase/workspace/; revision=1063869
This commit is contained in:
parent
34ef68d122
commit
8745bd9913
2 changed files with 10 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
Id=Kwin-Tabbox
|
||||
Id=Kwin-4.4
|
||||
Script=kwin_update_tabbox_settings
|
||||
|
|
|
@ -45,6 +45,15 @@ int main( int argc, char* argv[] )
|
|||
if( !tabbox.hasKey("ShowTabBox") )
|
||||
tabbox.writeEntry("ShowTabBox", (style.compare("KDE", Qt::CaseInsensitive) == 0)?true:false);
|
||||
tabbox.sync();
|
||||
// screen edges - disable quick tiling when switch on desktop edge is activated
|
||||
KConfigGroup borders(&config, "ElectricBorders");
|
||||
if( borders.readEntry<int>("ElectricBorders", 0) >= 1 &&
|
||||
!borders.hasKey("ElectricBorderMaximize") && !borders.hasKey("ElectricBorderTiling") )
|
||||
{
|
||||
borders.writeEntry("ElectricBorderMaximize", false);
|
||||
borders.writeEntry("ElectricBorderTiling", false);
|
||||
}
|
||||
borders.sync();
|
||||
config.sync();
|
||||
// Send signal to all kwin instances
|
||||
QDBusMessage message =
|
||||
|
|
Loading…
Reference in a new issue