XKB CVS HEAD Issue
Lukas Hejtmanek
xhejtman at fi.muni.cz
Wed Apr 5 05:46:19 PDT 2006
On Wed, Apr 05, 2006 at 06:30:50PM +1000, Dave Airlie wrote:
> >
> > I tried current CVS head of Xorg. I found an issue with keyboard - chvt using
> > ctrl-alt-Fn stoped working. Is there a chance to fix it?
>
> You may not have xkbcomp installed in the correct place, or xkb data installed..
The issue is this patch: (reverting is causes ctrl+alt+fn keys back to work)
http://webcvs.freedesktop.org/xorg/xserver/xorg/xkb/ddxVT.c?r1=1.5&r2=1.5.8.1
#include <X11/extensions/XKBsrv.h>
#include <X11/extensions/XI.h>
#ifdef XF86DDXACTIONS
#include "xf86.h"
#endif
int
XkbDDXSwitchScreen(DeviceIntPtr dev,KeyCode key,XkbAction *act
{
-#ifdef XF86DDXACTIONS
- {
- int scrnnum = XkbSAScreen(&act->screen);
-
- if (act->screen.flags & XkbSA_SwitchApplication) {
- if (act->screen.flags & XkbSA_SwitchAbsolute)
- xf86ProcessActionEvent(ACTION_SWITCHSCREEN,(void *) &scrnnum);
- else {
- if (scrnnum < 0)
- xf86ProcessActionEvent(ACTION_SWITCHSCREEN_PREV,NULL);
- else
- xf86ProcessActionEvent(ACTION_SWITCHSCREEN_NEXT,NULL);
- }
- }
- }
-#endif
return 1;
}
--
Lukáš Hejtmánek
More information about the xorg
mailing list