gtk+ r20114 - in trunk: . gdk/quartz
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20114 - in trunk: . gdk/quartz
- Date: Mon, 19 May 2008 20:56:51 +0000 (UTC)
Author: rhult
Date: Mon May 19 20:56:51 2008
New Revision: 20114
URL: http://svn.gnome.org/viewvc/gtk+?rev=20114&view=rev
Log:
2008-05-19 Richard Hult <richard imendio com>
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
(gdk_window_fullscreen), (gdk_window_unfullscreen): Use
SetSystemUIMode instead of hiding and showing the menubar.
Modified:
trunk/ChangeLog
trunk/gdk/quartz/gdkwindow-quartz.c
Modified: trunk/gdk/quartz/gdkwindow-quartz.c
==============================================================================
--- trunk/gdk/quartz/gdkwindow-quartz.c (original)
+++ trunk/gdk/quartz/gdkwindow-quartz.c Mon May 19 20:56:51 2008
@@ -1250,7 +1250,7 @@
/* Make sure we're not stuck in fullscreen mode. */
if (get_fullscreen_geometry (window))
- ShowMenuBar ();
+ SetSystemUIMode (kUIModeNormal, 0);
if (GDK_WINDOW_DESTROYED (window))
return;
@@ -2974,7 +2974,7 @@
frame.size.width, frame.size.height);
}
- HideMenuBar ();
+ SetSystemUIMode (kUIModeAllHidden, kUIOptionAutoShowMenuBar);
gdk_synthesize_window_state (window, 0, GDK_WINDOW_STATE_FULLSCREEN);
}
@@ -2990,7 +2990,7 @@
geometry = get_fullscreen_geometry (window);
if (geometry)
{
- ShowMenuBar ();
+ SetSystemUIMode (kUIModeNormal, 0);
move_resize_window_internal (window,
geometry->x,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]