[PATCH] xfree86: Only switch to original VT if it is active.

2018-10-16 Thread Michal Srb
If the X server is terminated while its VT is not active, it should not change the current VT. v2: Query current state in xf86CloseConsole using VT_GETSTATE instead of keeping track in xf86VTEnter/xf86VTLeave/etc. --- Changing the VT in that situation serves no purpose and can be confusing.

Re: [PATCH] xfree86: Only switch to original VT if it is active.

2018-10-16 Thread Michal Srb
On pátek 12. října 2018 16:18:11 CEST Adam Jackson wrote: > On Thu, 2018-10-11 at 16:45 +0200, Michal Srb wrote: > > If the X server is terminated while its VT is not active, it should > > not change the current VT. > > --- > > Changing the VT in that situation serves no purpose and can be

Re: [PATCH] xfree86: Only switch to original VT if it is active.

2018-10-12 Thread Adam Jackson
On Thu, 2018-10-11 at 16:45 +0200, Michal Srb wrote: > If the X server is terminated while its VT is not active, it should > not change the current VT. > --- > Changing the VT in that situation serves no purpose and can be confusing. > For example when a user's graphical session is terminated

[PATCH] xfree86: Only switch to original VT if it is active.

2018-10-11 Thread Michal Srb
If the X server is terminated while its VT is not active, it should not change the current VT. --- Changing the VT in that situation serves no purpose and can be confusing. For example when a user's graphical session is terminated while other user is using the computer, it would switch the VT he