File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Windows opened in popup mode have decorations.
Original file line number Diff line number Diff line change @@ -89,14 +89,15 @@ void MCStack::realize(void)
8989 loadwindowshape ();
9090
9191 // Compute the level of the window
92+ // MW-2014-06-11: [[ Bug 12297 ]] Make sure 'popup' mode means PopUp window (i.e. no decorations!)
9293 MCPlatformWindowStyle t_window_style;;
9394 if (getflag (F_DECORATIONS) && (decorations & WD_UTILITY) != 0 )
9495 t_window_style = kMCPlatformWindowStyleUtility ;
9596 else if (mode == WM_PALETTE)
9697 t_window_style = kMCPlatformWindowStylePalette ;
9798 else if (mode == WM_MODAL || mode == WM_SHEET)
9899 t_window_style = kMCPlatformWindowStyleDialog ;
99- else if (mode == WM_PULLDOWN || mode == WM_OPTION || mode == WM_COMBO)
100+ else if (mode == WM_PULLDOWN || mode == WM_OPTION || mode == WM_COMBO || mode == WM_POPUP )
100101 t_window_style = kMCPlatformWindowStylePopUp ;
101102 else if (mode == WM_CASCADE)
102103 t_window_style = kMCPlatformWindowStylePopUp ;
You can’t perform that action at this time.
0 commit comments