[PATCH] Add _display when it's not a screen specific setting.

David Reveman davidr at novell.com
Sun Aug 12 17:00:57 PDT 2007


---
 settings-backend/kconfig_backend.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/settings-backend/kconfig_backend.cpp b/settings-backend/kconfig_backend.cpp
index 196ed03..073da47 100644
--- a/settings-backend/kconfig_backend.cpp
+++ b/settings-backend/kconfig_backend.cpp
@@ -484,6 +484,8 @@ readSetting (CCSContext *c,
 	group += "_screen";
 	group += QString::number (setting->screenNum);
     }
+    else
+	group += "_display";
 
     cfg->setGroup (group);
 
@@ -994,6 +996,8 @@ writeSetting (CCSContext *c,
 	group += "_screen";
 	group += QString::number (setting->screenNum);
     }
+    else
+	group += "_display";
 
     cfg->setGroup (group);
 
-- 
1.5.2.4


--=-JKJEo0QaMHFoQml1BvGW
Content-Disposition: attachment; filename=0005-compizrc-is-not-a-simple-config.patch
Content-Type: application/mbox; name=0005-compizrc-is-not-a-simple-config.patch
Content-Transfer-Encoding: 7bit



More information about the compiz mailing list