From 522e743f64ba29be98fe3f44596d7a7ed57f6aca Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 8 Mar 2017 12:21:20 +0000 Subject: hw/nxagent/Dialog.c: Drop unused dialog for DIALOG_DISABLE_XKB_LOCAL. Fixes ArcticaProject/nx-libs#383. --- nx-X11/programs/Xserver/hw/nxagent/Dialog.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Dialog.c') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Dialog.c b/nx-X11/programs/Xserver/hw/nxagent/Dialog.c index da448a1cd..b7852a0ac 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Dialog.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Dialog.c @@ -63,7 +63,6 @@ int nxagentEnableRandRModeDialogPid = 0; int nxagentDisableRandRModeDialogPid = 0; int nxagentEnableDeferModePid = 0; int nxagentDisableDeferModePid = 0; -int nxagentDisableXkbPid = 0; static int nxagentFailedReconnectionDialogPid = 0; @@ -159,15 +158,6 @@ void nxagentResetDialog(int pid) nxagentDisableDeferModePid = 0; } - else if (pid == nxagentDisableXkbPid) - { - #ifdef TEST - fprintf(stderr, "nxagentResetDialog: Resetting disable XKB dialog pid [%d].\n", - nxagentDisableXkbPid); - #endif - - nxagentDisableXkbPid = 0; - } } void nxagentLaunchDialog(DialogType dialogType) @@ -273,15 +263,6 @@ void nxagentLaunchDialog(DialogType dialogType) break; } - case DIALOG_DISABLE_XKB: - { - message = DIALOG_DISABLE_XKB_MESSAGE; - type = DIALOG_DISABLE_XKB_TYPE; - local = DIALOG_DISABLE_XKB_LOCAL; - pid = &nxagentDisableXkbPid; - - break; - } default: { #ifdef WARNING @@ -521,12 +502,6 @@ void nxagentTerminateDialog(DialogType type) break; } - case DIALOG_DISABLE_XKB: - { - pid = nxagentDisableXkbPid; - - break; - } default: { #ifdef WARNING -- cgit v1.2.3