From f386bd2cb78fc9a5bffdf0451870720aafacca37 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 4 May 2020 11:30:39 +0200 Subject: Support case when window is fullscreen - continued --- src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/Cocoa') diff --git a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx index f77fc9e04..0611e630e 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx +++ b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx @@ -314,7 +314,7 @@ const Fl_Image* Fl_Cocoa_Window_Driver::shape() { */ void Fl_Cocoa_Window_Driver::capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_RGB_Image*& left, Fl_RGB_Image*& bottom, Fl_RGB_Image*& right) { - left = bottom = right = NULL; + top = left = bottom = right = NULL; int htop, hleft, hright, hbottom; Fl_Cocoa_Window_Driver::decoration_sizes(&htop, &hleft, &hright, &hbottom); if (htop == 0) return; // when window is fullscreen -- cgit v1.2.3