summaryrefslogtreecommitdiff
path: root/xkb/ddxVT.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-03-27 21:15:06 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-03-27 21:15:06 +0000
commit7257590651328f89d23e80da1ec6241542a660cd (patch)
treeb8cd65a886a39de7f28c25d68ab6d36b50ed1078 /xkb/ddxVT.c
parentd7b9e2b0e9d6889ea6b05e63892e612f4e5f19f5 (diff)
Move XFree86 DDX XKB actions into dixmods.
Diffstat (limited to 'xkb/ddxVT.c')
-rw-r--r--xkb/ddxVT.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/xkb/ddxVT.c b/xkb/ddxVT.c
index 1b7853fa0..922b2c65f 100644
--- a/xkb/ddxVT.c
+++ b/xkb/ddxVT.c
@@ -45,28 +45,8 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#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;
}