commit | 7361916dd392b4cf82b3f29cab43f058c48afae0 | [log] [tgz] |
---|---|---|
author | Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> | Sun Oct 24 20:42:39 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sun Oct 24 20:42:39 1999 +0000 |
tree | e8b673c56dd40b1d60a9b898360f9967e9e0dd1f | |
parent | 6111ee6186878bd3e0cc53ebcf304d4de9c2231f [diff] [blame] |
Warn users to use -the -desktop option together with the native user DLLs.
diff --git a/windows/win.c b/windows/win.c index 9e219e5..c5d910d 100644 --- a/windows/win.c +++ b/windows/win.c
@@ -1686,7 +1686,9 @@ */ HWND WINAPI GetDesktopWindow(void) { - return pWndDesktop->hwndSelf; + if (pWndDesktop) return pWndDesktop->hwndSelf; + ERR_(win)( "You need the -desktop option when running with native USER\n" ); + ExitProcess(1); }