From: Ken Thomases Subject: winex11: Remove dead store into win_gravity in get_window_attributes(). Message-Id: <175A0659-7D56-488A-B576-288E6CA44BC8@codeweavers.com> Date: Sun, 20 Apr 2014 17:11:13 -0500 The returned mask does not contain CWWinGravity and no caller adds it in. So, nothing uses the win_gravity field. --- dlls/winex11.drv/window.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index a9caa0d..d98b9f6 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -314,7 +314,6 @@ static int get_window_attributes( struct x11drv_win_data *data, XSetWindowAttrib attr->colormap = data->colormap ? data->colormap : default_colormap; attr->save_under = ((GetClassLongW( data->hwnd, GCL_STYLE ) & CS_SAVEBITS) != 0); attr->bit_gravity = NorthWestGravity; - attr->win_gravity = StaticGravity; attr->backing_store = NotUseful; attr->border_pixel = 0; attr->event_mask = (ExposureMask | PointerMotionMask |