[Bug 1625] New: bad definition of IsModifierKey()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 13 10:24:38 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1625        
   
           Summary: bad definition of IsModifierKey()
           Product: xorg
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Lib/other
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: sbrabec at suse.cz


To be IsModifierKey() defined properly in X11/Xutil.h, XK_XKB_KEYS has to be
defined previously. This is done in X11/keysym.h. But this file is not resourced
and compiler gets incorrectly defined macro IsModifierKey(), unless it
explicitly includes X11/keysym.h before X11/Xutil.h.

This causes bad definition of IsModifierKey() in Emacs.

Fix: Add
#include <X11/keysym.h>
to X11/Xutil.h

It causes for example bad function of AltGr in Emacs.        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list