diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index b3d7739c9ae..189ba614ba2 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -551,8 +551,10 @@ BOOL clip_fullscreen_window( HWND hwnd, BOOL reset ) release_win_data( data ); if (!fullscreen) return FALSE; if (!(thread_data = x11drv_thread_data())) return FALSE; - if (GetTickCount() - thread_data->clip_reset < 1000) return FALSE; - if (!reset && clipping_cursor && thread_data->clip_hwnd) return FALSE; /* already clipping */ + if (!reset) { + if (GetTickCount() - thread_data->clip_reset < 1000) return FALSE; + if (clipping_cursor && thread_data->clip_hwnd) return FALSE; /* already clipping */ + } rect = get_primary_monitor_rect(); if (!grab_fullscreen) {