SHARE
TWEET

osx_missioncontrol_window_hidden_glitch

a guest Oct 26th, 2014 141 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top