aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-vt.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-19 23:48:15 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-19 23:48:15 +0200
commitca6ff8c768e9b94a6dcfda175b4410c74133f461 (patch)
tree78595cab84daaaf83b66f54c5c533ea53501d465 /src/mds-vt.c
parentdocument XDG_VTNR (diff)
downloadmds-ca6ff8c768e9b94a6dcfda175b4410c74133f461.tar.gz
mds-ca6ff8c768e9b94a6dcfda175b4410c74133f461.tar.bz2
mds-ca6ff8c768e9b94a6dcfda175b4410c74133f461.tar.xz
whoops
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-vt.c')
-rw-r--r--src/mds-vt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mds-vt.c b/src/mds-vt.c
index 99a34ed..067ae94 100644
--- a/src/mds-vt.c
+++ b/src/mds-vt.c
@@ -653,10 +653,10 @@ int handle_configure_vt(const char* client, const char* message, const char* gra
int r = 0;
if (strequals(exclusive, "yes") || strequals(exclusive, "no"))
- r |= vt_set_graphical(display_tty_fd, strequals(exclusive, "yes"));
+ r |= vt_set_exclusive(display_tty_fd, strequals(exclusive, "yes"));
if (strequals(graphical, "yes") || strequals(graphical, "no"))
- r |= vt_set_exclusive(display_tty_fd, strequals(graphical, "yes"));
+ r |= vt_set_graphical(display_tty_fd, strequals(graphical, "yes"));
sprintf(buf,
"Command: error\n"