cocoadisplay: Trigger handle_move_event() when a resize event is received to also update the origin of the window if needed
This commit is contained in:
parent
88ba7badd4
commit
105f9abbfa
|
|
@ -30,6 +30,7 @@
|
|||
- (void) windowDidResize:(NSNotification *)notification {
|
||||
// Forcing a move event is unfortunately necessary because Cocoa does not
|
||||
// call windowDidMove in case of window zooms.
|
||||
_graphicsWindow->handle_move_event();
|
||||
_graphicsWindow->handle_resize_event();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue