Advertisement
Guest User

osx_missioncontrol_window_hidden_glitch

a guest
Oct 26th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
  2. index 9e47ea1..9a01885 100644
  3. --- a/intern/ghost/intern/GHOST_WindowCocoa.mm
  4. +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
  5. @@ -68,6 +68,7 @@ enum {
  6. - (void)setSystemAndWindowCocoa:(GHOST_SystemCocoa *)sysCocoa windowCocoa:(GHOST_WindowCocoa *)winCocoa;
  7. - (void)windowDidBecomeKey:(NSNotification *)notification;
  8. - (void)windowDidResignKey:(NSNotification *)notification;
  9. +- (void)windowDidBecomeMain:(NSNotification *)notification;
  10. - (void)windowDidExpose:(NSNotification *)notification;
  11. - (void)windowDidResize:(NSNotification *)notification;
  12. - (void)windowDidMove:(NSNotification *)notification;
  13. @@ -93,6 +94,11 @@ enum {
  14. systemCocoa->handleWindowEvent(GHOST_kEventWindowDeactivate, associatedWindow);
  15. }
  16.  
  17. +- (void)windowDidBecomeMain:(NSNotification *)notification
  18. +{
  19. + // ignored
  20. +}
  21. +
  22. - (void)windowDidExpose:(NSNotification *)notification
  23. {
  24. systemCocoa->handleWindowEvent(GHOST_kEventWindowUpdate, associatedWindow);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement