Commit c567556d authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Move code around in X11DRV_SetWindowPos to reduce indentation levels.

parent bbfbe246
...@@ -951,11 +951,7 @@ void X11DRV_sync_window_position( Display *display, struct x11drv_win_data *data ...@@ -951,11 +951,7 @@ void X11DRV_sync_window_position( Display *display, struct x11drv_win_data *data
const RECT *old_whole_rect ) const RECT *old_whole_rect )
{ {
XWindowChanges changes; XWindowChanges changes;
int mask; int mask = get_window_changes( &changes, old_whole_rect, &data->whole_rect );
if (!data->whole_window || data->lock_changes) return;
mask = get_window_changes( &changes, old_whole_rect, &data->whole_rect );
if (!(swp_flags & SWP_NOZORDER)) if (!(swp_flags & SWP_NOZORDER))
{ {
......
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