From 8901369c6f6d36ec4a92b1fdb4035149f9485299 Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Wed, 9 Oct 2013 02:45:39 -0400 Subject: [PATCH] ecere/gui: (#1019) Fixed broken parenting of system buttons when maximized - This supersedes the previous 25f63b6e64b0e596206165c3dd469f3349ccfd77 commit - The problem was not specific to native decorations, and that fix would have caused problems in full-screen --- ecere/src/gui/Window.ec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecere/src/gui/Window.ec b/ecere/src/gui/Window.ec index 44a547c..3454741 100644 --- a/ecere/src/gui/Window.ec +++ b/ecere/src/gui/Window.ec @@ -2252,8 +2252,8 @@ private: if(state == maximized) { parent = GetParentMenuBar(); - if(!parent && nativeDecorations) - parent = rootWindow; + if(!parent) + parent = this; } if(parent) -- 1.8.3.1