Using makeKeyWindow unfortunately doesn't work in all cases, we must use

2008-02-14  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
	makeKeyWindow unfortunately doesn't work in all cases, we must use
	makeKeyAndOrderFront.

svn path=/trunk/; revision=19568
This commit is contained in:
Richard Hult
2008-02-14 21:48:41 +00:00
committed by Richard Hult
parent b9d88ac6e5
commit aa8b00a923
2 changed files with 7 additions and 1 deletions

View File

@ -2229,7 +2229,7 @@ gdk_window_focus (GdkWindow *window,
if (private->accept_focus && private->window_type != GDK_WINDOW_TEMP)
{
GDK_QUARTZ_ALLOC_POOL;
[impl->toplevel makeKeyWindow];
[impl->toplevel makeKeyAndOrderFront:impl->toplevel];
GDK_QUARTZ_RELEASE_POOL;
}
}