Menu

#40 disable XKB extension

closed-rejected
None
5
2005-12-25
2004-01-06
No

rdesktop will not translate altgr correctly (on solaris
at least) if XKB extension is enabled (+kb option for X
server). following patch will disable this extension:

--- rdesktop/xwin.c K okt 29 16:13:59 2003
+++ rdesktop.fixed/xwin.c T jaan 6 15:11:57 2004
@@ -20,6 +20,7 @@

#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#include <X11/XKBlib.h>
#include <time.h>
#include <errno.h>
#include "rdesktop.h"
@@ -672,6 +673,7 @@
uint16 test;
int i, screen_num;

+ XkbIgnoreExtension(True);
g_display = XOpenDisplay(NULL);
if (g_display == NULL)
{

Discussion

  • Peter Åstrand

    Peter Åstrand - 2005-08-03

    Logged In: YES
    user_id=344921

    I don't want to apply this patch without any more background
    information. Do you have any idea *why* AltGr doesn't work
    when XKB is enabled? Have you tried the latest CVS version;
    is this still a problem?

     
  • Peter Åstrand

    Peter Åstrand - 2005-08-03
    • assigned_to: nobody --> astrand
     
  • Ilya Konstantinov

    Logged In: YES
    user_id=335423

    Author didn't provide requested details.

     
  • Ilya Konstantinov

    • status: open --> closed-rejected