Commit eb36924e authored by Adam Jackson's avatar Adam Jackson

dix: Remove redundant ChangeWindowProperty

Use dixChangeWindowProperty(serverClient, ...) instead.
Signed-off-by: 's avatarAdam Jackson <ajax@redhat.com>
Reviewed-by: 's avatarKeith Packard <keithp@keithp.com>
parent 4affa75a
......@@ -354,14 +354,6 @@ dixChangeWindowProperty(ClientPtr pClient, WindowPtr pWin, Atom property,
return Success;
}
int
ChangeWindowProperty(WindowPtr pWin, Atom property, Atom type, int format,
int mode, unsigned long len, void *value, Bool sendevent)
{
return dixChangeWindowProperty(serverClient, pWin, property, type, format,
mode, len, value, sendevent);
}
int
DeleteProperty(ClientPtr client, WindowPtr pWin, Atom propName)
{
......
......@@ -448,9 +448,10 @@ xf86UpdateHasVTProperty(Bool hasVT)
if (property_name == BAD_RESOURCE)
FatalError("Failed to retrieve \"HAS_VT\" atom\n");
for (i = 0; i < xf86NumScreens; i++) {
ChangeWindowProperty(xf86ScrnToScreen(xf86Screens[i])->root,
property_name, XA_INTEGER, 32,
PropModeReplace, 1, &value, TRUE);
dixChangeWindowProperty(serverClient,
xf86ScrnToScreen(xf86Screens[i])->root,
property_name, XA_INTEGER, 32,
PropModeReplace, 1, &value, TRUE);
}
}
......
......@@ -67,15 +67,6 @@ extern _X_EXPORT int dixChangeWindowProperty(ClientPtr pClient,
void *value,
Bool sendevent);
extern _X_EXPORT int ChangeWindowProperty(WindowPtr pWin,
Atom property,
Atom type,
int format,
int mode,
unsigned long len,
void *value,
Bool sendevent);
extern _X_EXPORT int DeleteProperty(ClientPtr /*client */ ,
WindowPtr /*pWin */ ,
Atom /*propName */ );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment