Commit 1d6c241d authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

nxagent: store remote keyboard in global variables

This avoids some roundtrips.
parent 161515d2
...@@ -119,6 +119,7 @@ void nxagentTuneXkbWrapper(void); ...@@ -119,6 +119,7 @@ void nxagentTuneXkbWrapper(void);
void nxagentResetKeycodeConversion(void); void nxagentResetKeycodeConversion(void);
Bool nxagentGetRemoteXkbExtension(void);
#endif #endif
CARD8 nxagentConvertKeycode(CARD8 k); CARD8 nxagentConvertKeycode(CARD8 k);
......
...@@ -584,6 +584,9 @@ Bool nxagentReconnectSession(void) ...@@ -584,6 +584,9 @@ Bool nxagentReconnectSession(void)
goto nxagentReconnectError; goto nxagentReconnectError;
} }
/* Update remote XKB information */
nxagentGetRemoteXkbExtension();
/* if there's no keyboard definition in the options file /* if there's no keyboard definition in the options file
restore the previous value. */ restore the previous value. */
#ifdef DEBUG #ifdef DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment