@@ -41,7 +41,6 @@ typedef enum
4141 DIALOG_FAILED_RECONNECTION ,
4242 DIALOG_ENABLE_DEFER_MODE ,
4343 DIALOG_DISABLE_DEFER_MODE ,
44- DIALOG_DISABLE_XKB ,
4544 DIALOG_LAST_TAG
4645
4746} DialogType ;
@@ -55,7 +54,6 @@ extern int nxagentEnableRandRModeDialogPid;
5554extern int nxagentDisableRandRModeDialogPid ;
5655extern int nxagentEnableDeferModePid ;
5756extern int nxagentDisableDeferModePid ;
58- extern int nxagentDisableXkbPid ;
5957
6058extern char nxagentFailedReconnectionMessage [];
6159
@@ -74,8 +72,7 @@ extern void nxagentTerminateDialogs(void);
7472 nxagentEnableRandRModeDialogPid == 0 && \
7573 nxagentDisableRandRModeDialogPid == 0 && \
7674 nxagentEnableDeferModePid == 0 && \
77- nxagentDisableDeferModePid == 0 && \
78- nxagentDisableXkbPid == 0)
75+ nxagentDisableDeferModePid == 0)
7976
8077#define DECODE_DIALOG_TYPE (type ) \
8178 ((type) == DIALOG_KILL_SESSION ? "DIALOG_KILL_SESSION" : \
@@ -88,7 +85,6 @@ extern void nxagentTerminateDialogs(void);
8885 (type) == DIALOG_FAILED_RECONNECTION ? "DIALOG_FAILED_RECONNECTION" : \
8986 (type) == DIALOG_ENABLE_DEFER_MODE ? "DIALOG_ENABLE_DEFER_MODE" : \
9087 (type) == DIALOG_DISABLE_DEFER_MODE ? "DIALOG_DISABLE_DEFER_MODE" : \
91- (type) == DIALOG_DISABLE_XKB ? "DIALOG_DISABLE_XKB" : \
9288 "UNKNOWN_DIALOG")
9389
9490/*
@@ -216,16 +212,5 @@ Ctrl+Alt+E to enable it again.\
216212
217213#define DIALOG_DISABLE_DEFER_MODE_LOCAL 0
218214
219-
220- #define DIALOG_DISABLE_XKB_MESSAGE \
221- \
222- "\
223- Changing layout is not allowed with your current display.\
224- "
225-
226- #define DIALOG_DISABLE_XKB_TYPE "ok"
227-
228- #define DIALOG_DISABLE_XKB_LOCAL 0
229-
230215#endif /* __Dialog_H__ */
231216
0 commit comments