Skip to content

Commit

Permalink
Now sends FL_HIDE/FL_SHOW events when window is iconized/un-iconized.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Apr 13, 2011
1 parent 404a7c1 commit 639ee4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fl_cocoa.mm
Expand Up @@ -1124,7 +1124,7 @@ - (void)windowDidDeminiaturize:(NSNotification *)notif
fl_lock_function();
FLWindow *nsw = (FLWindow*)[notif object];
Fl_Window *window = [nsw getFl_Window];
window->set_visible();
Fl::handle(FL_SHOW, window);
update_e_xy_and_e_xy_root(nsw);
fl_unlock_function();
}
Expand All @@ -1133,7 +1133,7 @@ - (void)windowDidMiniaturize:(NSNotification *)notif
fl_lock_function();
FLWindow *nsw = (FLWindow*)[notif object];
Fl_Window *window = [nsw getFl_Window];
window->clear_visible();
Fl::handle(FL_HIDE, window);
fl_unlock_function();
}
- (void)windowWillClose:(NSNotification *)notif
Expand Down

0 comments on commit 639ee4f

Please sign in to comment.