summaryrefslogtreecommitdiff
path: root/src/Xfixes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xfixes.c')
-rw-r--r--src/Xfixes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xfixes.c b/src/Xfixes.c
index 2f73bcd..2ce8106 100644
--- a/src/Xfixes.c
+++ b/src/Xfixes.c
@@ -123,7 +123,7 @@ XFixesExtAddDisplay (XFixesExtInfo *extinfo,
* extension object. (Replaces XextRemoveDisplay.)
*/
static int
-XFixesExtRemoveDisplay (XFixesExtInfo *extinfo, Display *dpy)
+XFixesExtRemoveDisplay (XFixesExtInfo *extinfo, const Display *dpy)
{
XFixesExtDisplayInfo *info, *prev;
@@ -164,7 +164,7 @@ XFixesExtRemoveDisplay (XFixesExtInfo *extinfo, Display *dpy)
*/
static XFixesExtDisplayInfo *
XFixesExtFindDisplay (XFixesExtInfo *extinfo,
- Display *dpy)
+ const Display *dpy)
{
XFixesExtDisplayInfo *info;