Skip to content

Commit

Permalink
Added isHiding field to _ClutterStageOSX to allow windowDidResignKey …
Browse files Browse the repository at this point in the history
…delegate to not order full screen window back whilst the full screen window was being hidden. This caused other application windows to be hidden
  • Loading branch information
kbaker committed Jul 12, 2011
1 parent 287c9f2 commit 432c62d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clutter/osx/clutter-stage-osx.h
Expand Up @@ -41,7 +41,7 @@ G_BEGIN_DECLS
typedef struct _ClutterStageOSX ClutterStageOSX;
typedef struct _ClutterStageOSXClass ClutterStageOSXClass;

@interface ClutterGLWindow : NSWindow
@interface ClutterGLWindow : NSWindow <NSWindowDelegate>
{
@public
ClutterStageOSX *stage_osx;
Expand All @@ -67,6 +67,7 @@ struct _ClutterStageOSX
ClutterStageState stage_state;

gboolean acceptFocus;
gboolean isHiding;

gfloat scroll_pos_x;
gfloat scroll_pos_y;
Expand Down

0 comments on commit 432c62d

Please sign in to comment.