summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo R. Zanoni <paulo@c3sl.ufpr.br>2008-08-22 09:00:51 -0300
committerPaulo R. Zanoni <paulo@c3sl.ufpr.br>2008-08-22 09:00:51 -0300
commitf0f1640786e5b55f211101dec31ba3d7399ebf55 (patch)
tree67605b784bde38fb7afe9b87b175b92875713148
parent285cc97dc83bc9733f40917c7bff1c7200fac77d (diff)
Can't reconfigure input when using gdmdynamic.
-rw-r--r--extra-modes/xephyr-gdm/src/xephyr-gdm6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra-modes/xephyr-gdm/src/xephyr-gdm b/extra-modes/xephyr-gdm/src/xephyr-gdm
index 678741e..456254b 100644
--- a/extra-modes/xephyr-gdm/src/xephyr-gdm
+++ b/extra-modes/xephyr-gdm/src/xephyr-gdm
@@ -97,6 +97,12 @@ function display_manager_start_seat () {
-keybd \
evdev,,device=$KEYBOARD,xkbmodel=$MY_XKB_MODEL,xkblayout=$MY_XKB_LAYOUT"
$GDMDYNAMIC -r ${SEAT_NUMBER}
+
+ # XXX: We're letting gdm do everything: it will restart Xephyr whenever it
+ # dies, it will do a lot of stuff. This way, we won't be able to reconfigure
+ # input. We need to find a way to do this, maybe through gdm itself.
+ echo "Exiting (gdm will handle the Xephyrs for us)."
+ exit 1;
}
function display_manager_stop () {