Commit 1d5e6d23 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

winex11.drv: Initialize escape.drawable in X11DRV_GetDC().

Fix an uninitialized variable warning with GCC 12.
parent 5258c8b9
......@@ -2299,6 +2299,7 @@ void X11DRV_GetDC( HDC hdc, HWND hwnd, HWND top, const RECT *win_rect,
escape.code = X11DRV_SET_DRAWABLE;
escape.mode = IncludeInferiors;
escape.drawable = 0;
escape.dc_rect.left = win_rect->left - top_rect->left;
escape.dc_rect.top = win_rect->top - top_rect->top;
......
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