summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-12 21:22:19 +0000
committerMatt Wilson <msw@redhat.com>2001-07-12 21:22:19 +0000
commitdb9e94bd06e5cb4138e0e9e62e7b2a03423d6e94 (patch)
treea4f97b5c1a3bc714239be5b91bacc5b21175676a /xf86config.py
parent8281e3e52878cf5b7d7aec0c1ad2f84e210f3dc2 (diff)
downloadanaconda-db9e94bd06e5cb4138e0e9e62e7b2a03423d6e94.tar.gz
anaconda-db9e94bd06e5cb4138e0e9e62e7b2a03423d6e94.tar.xz
anaconda-db9e94bd06e5cb4138e0e9e62e7b2a03423d6e94.zip
save/restore X selection state from instdata, fixes #47616
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py
index 19300b31d..9a71e19d6 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -668,6 +668,10 @@ class XF86Config:
self.keyVariant = variant
self.keyOptions = options
+ def getKeyboard(self):
+ return (self.keyRules, self.keyModel, self.keyLayout,
+ self.keyVariant, self.keyOptions)
+
def setMouse(self, mouse):
self.mouse = mouse