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 confusing. > > For example when a user's graphical session is terminated while other > > user is using the computer, it would switch the VT he is working on. > > Conceptual ack. Would slightly prefer to see this done by > VT_GETSTATE/VT_GETACTIVE ioctl (depending which OS you're on). It > should be simpler, and also...
Ok, thank you for your response, that will indeed be simpler. The VT_GETACTIVE seems to be on BSD while VT_GETSTATE is on Linux. The code doing the switching back to original VT is only in Linux part, so only that one needs to be modified. I'll send version 2. Michal _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel