Ken Thomases : winex11: Remove dead store into win_gravity in get_window_attributes().

Alexandre Julliard julliard at winehq.org
Mon Apr 21 12:36:54 CDT 2014


Module: wine
Branch: master
Commit: 3e09763835935cf44f3b78156a38753f30655d68
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3e09763835935cf44f3b78156a38753f30655d68

Author: Ken Thomases <ken at codeweavers.com>
Date:   Sun Apr 20 17:11:13 2014 -0500

winex11: Remove dead store into win_gravity in get_window_attributes().

---

 dlls/winex11.drv/window.c |    1 -
 1 file changed, 1 deletion(-)

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 |




More information about the wine-cvs mailing list