[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xelb 0bf99de 2/2: Update SHM and GLX libraries
From: |
Chris Feng |
Subject: |
[elpa] externals/xelb 0bf99de 2/2: Update SHM and GLX libraries |
Date: |
Sat, 19 Sep 2015 02:01:42 +0000 |
branch: externals/xelb
commit 0bf99def46db068558d3513426922c704fc5a2d7
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>
Update SHM and GLX libraries
* xcb-shm.el (xcb:shm:PutImage): The send-event slot is now of type
xcb:BOOL.
* xcb-glx.el (xcb:glx:IsEnabled, xcb:glx:IsEnabled~reply): New request and
reply.
---
xcb-glx.el | 10 ++++++++++
xcb-shm.el | 2 +-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/xcb-glx.el b/xcb-glx.el
index cc09060..a2aaf0f 100644
--- a/xcb-glx.el
+++ b/xcb-glx.el
@@ -1229,6 +1229,16 @@
(xcb:-fieldref 'n))
:type xcb:-list)))
+(defclass xcb:glx:IsEnabled
+ (xcb:-request)
+ ((~opcode :initform 140 :type xcb:-u1)
+ (context-tag :initarg :context-tag :type xcb:glx:CONTEXT_TAG)
+ (capability :initarg :capability :type xcb:CARD32)))
+(defclass xcb:glx:IsEnabled~reply
+ (xcb:-reply)
+ ((pad~0 :initform 1 :type xcb:-pad)
+ (ret-val :initarg :ret-val :type xcb:BOOL32)))
+
(defclass xcb:glx:IsList
(xcb:-request)
((~opcode :initform 141 :type xcb:-u1)
diff --git a/xcb-shm.el b/xcb-shm.el
index 5fc11bd..82bb23c 100644
--- a/xcb-shm.el
+++ b/xcb-shm.el
@@ -90,7 +90,7 @@
(dst-y :initarg :dst-y :type xcb:INT16)
(depth :initarg :depth :type xcb:CARD8)
(format :initarg :format :type xcb:CARD8)
- (send-event :initarg :send-event :type xcb:CARD8)
+ (send-event :initarg :send-event :type xcb:BOOL)
(pad~0 :initform 1 :type xcb:-pad)
(shmseg :initarg :shmseg :type xcb:shm:SEG)
(offset :initarg :offset :type xcb:CARD32)))