diff options
Diffstat (limited to 'src/jarabe/view/keyhandler.py')
-rw-r--r-- | src/jarabe/view/keyhandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/view/keyhandler.py b/src/jarabe/view/keyhandler.py index 1da1f6a..0905db4 100644 --- a/src/jarabe/view/keyhandler.py +++ b/src/jarabe/view/keyhandler.py @@ -249,9 +249,9 @@ class KeyHandler(object): # If either the xmodmap or xrandr command fails, check_call will fail # with CalledProcessError, which we raise. try: - subprocess.check_call(argv) subprocess.check_call(['xrandr', '-o', states[self._screen_rotation]]) + subprocess.check_call(argv) except OSError, e: if e.errno != errno.EINTR: raise |