diff options
-rw-r--r-- | src/Xcomposite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xcomposite.c b/src/Xcomposite.c index b107475..359cd08 100644 --- a/src/Xcomposite.c +++ b/src/Xcomposite.c @@ -53,7 +53,7 @@ const char XCompositeExtensionName[] = COMPOSITE_NAME; * extension object. (Replaces XextRemoveDisplay.) */ static int -XCompositeExtRemoveDisplay (XCompositeExtInfo *extinfo, Display *dpy) +XCompositeExtRemoveDisplay (XCompositeExtInfo *extinfo, const Display *dpy) { XCompositeExtDisplayInfo *info, *prev; @@ -172,7 +172,7 @@ XCompositeExtAddDisplay (XCompositeExtInfo *extinfo, */ static XCompositeExtDisplayInfo * XCompositeExtFindDisplay (XCompositeExtInfo *extinfo, - Display *dpy) + const Display *dpy) { XCompositeExtDisplayInfo *info; |