1. 03 Nov, 2014 1 commit
  2. 09 Dec, 2012 1 commit
    • Peter Hutterer's avatar
      Fix compiler warnings · b4e07e7a
      Peter Hutterer authored
      XIQueryVersion.c: In function '_xiQueryVersion':
      XIQueryVersion.c:63:26: warning: declaration of 'info' shadows a parameter
      [-Wshadow]
      XIQueryVersion.c:53:73: warning: shadowed declaration is here [-Wshadow]
      
      XExtInt.c: In function 'XInputWireToEvent':
      XExtInt.c:823:25: warning: declaration of 'i' shadows a previous local
      [-Wshadow]
      XExtInt.c:502:18: warning: shadowed declaration is here [-Wshadow]
      XExtInt.c:850:25: warning: declaration of 'i' shadows a previous local
      [-Wshadow]
      XExtInt.c:502:18: warning: shadowed declaration is here [-Wshadow]
      
      In file included from XExtInt.c:64:0:
      ../include/X11/extensions/XInput.h:166:17: note: previous declaration of
      '_xidevicebusy' was here
      XExtInt.c:101:12: warning: redundant redeclaration of
      '_XiGetDevicePresenceNotifyEvent' [-Wredundant-decls]
      
      XExtInt.c:76:13: warning: redundant redeclaration of '_xibaddevice'
      [-Wredundant-decls]
      In file included from XExtInt.c:64:0:
      ../include/X11/extensions/XInput.h:162:17: note: previous declaration of
      '_xibaddevice' was here
      XExtInt.c:81:13: warning: redundant redeclaration of '_xibadclass'
      [-Wredundant-decls]
      In file included from XExtInt.c:64:0:
      ../include/X11/extensions/XInput.h:163:17: note: previous declaration of
      '_xibadclass' was here
      XExtInt.c:86:13: warning: redundant redeclaration of '_xibadevent'
      [-Wredundant-decls]
      In file included from XExtInt.c:64:0:
      ../include/X11/extensions/XInput.h:164:17: note: previous declaration of
      '_xibadevent' was here
      XExtInt.c:91:13: warning: redundant redeclaration of '_xibadmode'
      [-Wredundant-decls]
      In file included from XExtInt.c:64:0:
      ../include/X11/extensions/XInput.h:165:17: note: previous declaration of
      '_xibadmode' was here
      XExtInt.c:96:13: warning: redundant redeclaration of '_xidevicebusy'
      [-Wredundant-decls]
      In file included from XExtInt.c:64:0:
      ../include/X11/extensions/XInput.h:166:17: note: previous declaration of
      '_xidevicebusy' was here
      
      XListDev.c: In function 'ParseClassInfo':
      XListDev.c:116:33: warning: declaration of 'k' shadows a previous local
      [-Wshadow]
      XListDev.c:109:12: warning: shadowed declaration is here [-Wshadow]
      
      XGetFCtl.c: In function 'XGetFeedbackControl':
      XGetFCtl.c:184:26: warning: declaration of 'i' shadows a previous local
      [-Wshadow]
      XGetFCtl.c:72:17: warning: shadowed declaration is here [-Wshadow]
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      Reviewed-by: Dan Nicholson's avatarDan Nicholson <dbn.lists@gmail.com>
      b4e07e7a
  3. 12 Nov, 2011 1 commit
  4. 10 Apr, 2010 1 commit
  5. 02 Jun, 2009 1 commit
    • Peter Hutterer's avatar
      Return BadRequest from XIQueryVersion if XI2 isn't supported. · 2174d35d
      Peter Hutterer authored
      XIQueryVersion (like all other calls) makes sure XGetExtensionVersion is
      called beforehand anyway. So if that doesn't match 2.0 or higher, return
      BadRquest before issuing the real request (which would trigger a BadRequest
      error). This way, clients can use XIQueryVersion without having to set up
      the error handler.
      
      XIQueryVersion is now guaranteed to return the server-supported version.
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
      2174d35d
  6. 14 May, 2009 1 commit
  7. 19 Apr, 2009 2 commits
  8. 11 Mar, 2009 1 commit