aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glxcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glx/glxcontext.h')
-rw-r--r--xorg-server/glx/glxcontext.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xorg-server/glx/glxcontext.h b/xorg-server/glx/glxcontext.h
index 3d08c9929..677898a67 100644
--- a/xorg-server/glx/glxcontext.h
+++ b/xorg-server/glx/glxcontext.h
@@ -69,6 +69,11 @@ struct __GLXcontext {
__GLXscreen *pGlxScreen;
/*
+ ** If this context is current for a client, this will be that client
+ */
+ ClientPtr currentClient;
+
+ /*
** The XID of this context.
*/
XID id;
@@ -84,11 +89,6 @@ struct __GLXcontext {
GLboolean idExists;
/*
- ** Whether this context is current for some client.
- */
- GLboolean isCurrent;
-
- /*
** Whether this context is a direct rendering context.
*/
GLboolean isDirect;