diff --git a/src/wndproc.c b/src/wndproc.c
index 2d50d58..3d8823f 100644
--- a/src/wndproc.c
+++ b/src/wndproc.c
@@ -535,7 +535,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
                 util_update_bnet_pos(x, y);
             }
 
-            if (in_size_move || (IsWine() && !g_config.fullscreen && g_ddraw.render.thread))
+            if (in_size_move || (IsLinux() && !g_config.fullscreen && g_ddraw.render.thread))
             {
                 if (x != -32000)
                     g_config.window_rect.left = x; /* -32000 = Exit/Minimize */