Skip to content

Commit

Permalink
Added -windowDidChangeScreen: delegate to handle condition where movi…
Browse files Browse the repository at this point in the history
…ng host window to a different screen would cause pick errors to be output. The delegate just causes the stage to be redrawn which re-creates the pick buffer
  • Loading branch information
kbaker committed Jul 25, 2011
1 parent 68c700d commit 7466e2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clutter/osx/clutter-stage-osx.c
Expand Up @@ -132,6 +132,11 @@ clutter_stage_osx_get_wrapper (ClutterStageWindow *stage_window);
else
return [self frame].size;
}

- (void)windowDidChangeScreen:(NSNotification *)notification
{
clutter_redraw(CLUTTER_STAGE(self->stage_osx->wrapper));
}
@end

/*************************************************************************/
Expand Down

0 comments on commit 7466e2e

Please sign in to comment.