# HG changeset patch # User ib # Date 1345032642 0 # Node ID 07b7e835504945d89e3de00768a85ea7ca7e5aa8 # Parent 559fc479b2ef5ef55dae4b8aee765a494486902a Pass in NULL as handle to parent or owner window. It's counter-intuitive to pass in the handle that is being created, although its value is NULL as well. Patch in part by Stephen Sheldon, sfsheldo gmail com. diff -r 559fc479b2ef -r 07b7e8355049 gui/win32/gui.c --- a/gui/win32/gui.c Wed Aug 15 00:26:58 2012 +0000 +++ b/gui/win32/gui.c Wed Aug 15 12:10:42 2012 +0000 @@ -1434,7 +1434,7 @@ hWnd = CreateWindowEx(0, "MPlayer - Video", "MPlayer - Video", style, x, y, rect.right-rect.left, rect.bottom-rect.top, - gui->videowindow, NULL, instance, NULL); + NULL, NULL, instance, NULL); /* load all the window images */ window_render(gui, hWnd, hdc, priv, desc, binfo); @@ -1549,7 +1549,7 @@ hwnd = CreateWindowEx(0, gui->classname, "MPlayer", style, x, y, rect.right-rect.left, rect.bottom-rect.top, - gui->mainwindow, NULL, instance, NULL); + NULL, NULL, instance, NULL); /* set the systray icon properties */ nid.cbSize = sizeof(NOTIFYICONDATA);