summaryrefslogtreecommitdiff
path: root/src/drivers/Cocoa
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-05-04 11:30:39 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-05-04 11:33:43 +0200
commitf386bd2cb78fc9a5bffdf0451870720aafacca37 (patch)
tree0039a265ef718f6c6fca18a889a3c5ef7a84f39b /src/drivers/Cocoa
parent6d24a355f0b07b94b87d498bea807a52281f3162 (diff)
Support case when window is fullscreen - continued
Diffstat (limited to 'src/drivers/Cocoa')
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
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