Hello community,

here is the log from the commit of package xorg-x11-server for openSUSE:Factory 
checked in at 2014-01-31 16:47:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xorg-x11-server (Old)
 and      /work/SRC/openSUSE:Factory/.xorg-x11-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xorg-x11-server"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xorg-x11-server/xorg-x11-server.changes  
2014-01-23 15:58:48.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xorg-x11-server.new/xorg-x11-server.changes     
2014-01-31 16:47:11.000000000 +0100
@@ -1,0 +2,8 @@
+Thu Jan 30 10:33:43 UTC 2014 - [email protected]
+
+- Rename u_keep_non_seat0_x_server_from_touching_vts.patch to
+  U_keep_non_seat0_x_server_from_touching_vts.patch, since it's
+  now upstreamed.
+  * See: 
http://cgit.freedesktop.org/xorg/xserver/commit/?id=46cf2a60934076bf568062eb83121ce90b6ff596
+
+-------------------------------------------------------------------

Old:
----
  u_keep_non_seat0_x_server_from_touching_vts.patch

New:
----
  U_keep_non_seat0_x_server_from_touching_vts.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xorg-x11-server.spec ++++++
--- /var/tmp/diff_new_pack.TkM5Y1/_old  2014-01-31 16:47:12.000000000 +0100
+++ /var/tmp/diff_new_pack.TkM5Y1/_new  2014-01-31 16:47:12.000000000 +0100
@@ -133,7 +133,7 @@
 Patch162:       b_cache-xkbcomp-output-for-fast-start-up.patch
 Patch211:       
b_0001-Prevent-XSync-Alarms-from-senslessly-calling-CheckTr.patch
 Patch222:       b_sync-fix.patch
-Patch223:       u_keep_non_seat0_x_server_from_touching_vts.patch
+Patch223:       U_keep_non_seat0_x_server_from_touching_vts.patch
 
 %description
 This package contains the X.Org Server.

++++++ U_keep_non_seat0_x_server_from_touching_vts.patch ++++++
>From 405e2805d3903a8a631f01924593a227c634f05d Mon Sep 17 00:00:00 2001
From: LaĆ©rcio de Sousa <[email protected]>
Date: Thu, 12 Dec 2013 16:22:48 +0000
Subject: xfree86: Keep a non-seat0 X server from touching VTs (#71258)

Updated patch following Hans de Goede's advice.

If -seat option is passed with a value different from seat0,
X server won't call xf86OpenConsole().

This is needed to avoid any race condition between seat0 and
non-seat0 X servers. If a non-seat0 X server opens a given VT
before a seat0 one which expects to open the same VT, one can
get an inactive systemd-logind graphical session for seat0.

This patch was first tested in a multiseat setup with multiple
video cards and works quite well.

I suppose it can also make things like DontVTSwitch and -sharevts
meaningless for non-seat0 seats, so it may fix bug #69477, too.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71258
       https://bugs.freedesktop.org/show_bug.cgi?id=69477 (maybe)

See also: http://lists.x.org/archives/xorg-devel/2013-October/038391.html
          https://bugzilla.redhat.com/show_bug.cgi?id=1018196

Signed-off-by: Hans de Goede <[email protected]>
---
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index 91ec4c8..1e95061 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -544,7 +544,8 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)
             if (NEED_IO_ENABLED(flags))
                 want_hw_access = TRUE;
 
-            if (!(flags & HW_SKIP_CONSOLE))
+            /* Non-seat0 X servers should not open console */
+            if (!(flags & HW_SKIP_CONSOLE) && !ServerIsNotSeat0())
                 xorgHWOpenConsole = TRUE;
         }
 
--
cgit v0.9.0.2-2-gbebe
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to