diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2009-10-21 15:57:36 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2009-10-21 15:57:36 -0700 |
commit | 0b2ea94325a1c3b0067075b34d12bd7135066223 (patch) | |
tree | 7aab696a9cf258e4b87f7001808fed54581c8a88 | |
parent | 21164c7cf7bd5ce06740472b9eea289fd65f3431 (diff) |
-rw-r--r-- | XF86Config-parser/Merge.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/XF86Config-parser/Merge.c b/XF86Config-parser/Merge.c index 26521ee..e302e5e 100644 --- a/XF86Config-parser/Merge.c +++ b/XF86Config-parser/Merge.c @@ -691,6 +691,21 @@ static int xconfigMergeLayout(XConfigPtr dstConfig, XConfigPtr srcConfig) srcAdj = srcAdj->next; } + /* Merge the options */ + + if (srcLayout->options) { + XConfigOptionPtr srcOption; + + srcOption = srcLayout->options; + while (srcOption) { + xconfigMergeOption(&(dstLayout->options), + &(srcLayout->options), + xconfigOptionName(srcOption), + &(dstLayout->comment)); + srcOption = srcOption->next; + } + } + return 1; } /* xconfigMergeLayout() */ |