diff options
Diffstat (limited to 'xorg-server/hw/xwin/winwindowswm.c')
-rw-r--r-- | xorg-server/hw/xwin/winwindowswm.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/xorg-server/hw/xwin/winwindowswm.c b/xorg-server/hw/xwin/winwindowswm.c index fbd41aaa8..6e9d63c53 100644 --- a/xorg-server/hw/xwin/winwindowswm.c +++ b/xorg-server/hw/xwin/winwindowswm.c @@ -66,18 +66,6 @@ typedef struct _WMEvent { unsigned int mask; } WMEventRec; -static inline BoxRec -make_box(int x, int y, int w, int h) -{ - BoxRec r; - - r.x1 = x; - r.y1 = y; - r.x2 = x + w; - r.y2 = y + h; - return r; -} - static int ProcWindowsWMQueryVersion(ClientPtr client) { @@ -319,7 +307,6 @@ static int ProcWindowsWMFrameGetRect(ClientPtr client) { xWindowsWMFrameGetRectReply rep; - BoxRec ir; RECT rcNew; REQUEST(xWindowsWMFrameGetRectReq); @@ -334,8 +321,6 @@ ProcWindowsWMFrameGetRect(ClientPtr client) rep.length = 0; rep.sequenceNumber = client->sequence; - ir = make_box(stuff->ix, stuff->iy, stuff->iw, stuff->ih); - if (stuff->frame_rect != 0) { ErrorF("ProcWindowsWMFrameGetRect - stuff->frame_rect != 0\n"); return BadValue; |