ubuntu-multiseat team mailing list archive
-
ubuntu-multiseat team
-
Mailing list archive
-
Message #00541
[Merge] lp:~ubuntu-multiseat/lightdm/drop-sharevts into lp:lightdm
Laércio de Sousa has proposed merging lp:~ubuntu-multiseat/lightdm/drop-sharevts into lp:lightdm.
Requested reviews:
LightDM Development Team (lightdm-team)
For more details, see:
https://code.launchpad.net/~ubuntu-multiseat/lightdm/drop-sharevts/+merge/267954
Drop Xorg option -sharevts. It's no longer required for non-seat0 X servers since xorg-server release 1.16.
See http://cgit.freedesktop.org/xorg/xserver/commit/?id=46cf2
--
Your team Ubuntu Multiseat is subscribed to branch lp:~ubuntu-multiseat/lightdm/drop-sharevts.
=== modified file 'src/seat-xlocal.c'
--- src/seat-xlocal.c 2015-07-28 08:38:40 +0000
+++ src/seat-xlocal.c 2015-08-13 14:01:00 +0000
@@ -198,8 +198,6 @@
x_server_local_set_layout (x_server, layout);
x_server_local_set_xdg_seat (x_server, seat_get_name (seat));
- if (strcmp (seat_get_name (seat), "seat0") != 0)
- x_server_local_set_sharevts (x_server, TRUE);
config_file = seat_get_string_property (seat, "xserver-config");
if (config_file)
=== modified file 'src/x-server-local.c'
--- src/x-server-local.c 2015-05-26 02:08:20 +0000
+++ src/x-server-local.c 2015-08-13 14:01:00 +0000
@@ -40,9 +40,6 @@
/* Value for -seat argument */
gchar *xdg_seat;
- /* TRUE if should share VT with other X server */
- gboolean sharevts;
-
/* TRUE if TCP/IP connections are allowed */
gboolean allow_tcp;
@@ -219,13 +216,6 @@
}
void
-x_server_local_set_sharevts (XServerLocal *server, gboolean sharevts)
-{
- g_return_if_fail (server != NULL);
- server->priv->sharevts = sharevts;
-}
-
-void
x_server_local_set_allow_tcp (XServerLocal *server, gboolean allow_tcp)
{
g_return_if_fail (server != NULL);
@@ -473,9 +463,6 @@
if (server->priv->xdg_seat)
g_string_append_printf (command, " -seat %s", server->priv->xdg_seat);
- if (server->priv->sharevts)
- g_string_append (command, " -sharevts");
-
write_authority_file (server);
if (server->priv->authority_file)
g_string_append_printf (command, " -auth %s", server->priv->authority_file);
=== modified file 'src/x-server-local.h'
--- src/x-server-local.h 2014-09-19 03:16:14 +0000
+++ src/x-server-local.h 2015-08-13 14:01:00 +0000
@@ -51,8 +51,6 @@
void x_server_local_set_xdg_seat (XServerLocal *server, const gchar *xdg_seat);
-void x_server_local_set_sharevts (XServerLocal *server, gboolean sharevts);
-
void x_server_local_set_allow_tcp (XServerLocal *server, gboolean allow_tcp);
void x_server_local_set_xdmcp_server (XServerLocal *server, const gchar *hostname);
Follow ups