From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkE8u-0005TQ-P8 for qemu-devel@nongnu.org; Fri, 31 Oct 2014 11:30:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjvUl-0005eQ-MW for qemu-devel@nongnu.org; Thu, 30 Oct 2014 15:35:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjvUl-0005e8-FN for qemu-devel@nongnu.org; Thu, 30 Oct 2014 15:34:55 -0400 From: Cole Robinson Date: Thu, 30 Oct 2014 15:34:31 -0400 Message-Id: Subject: [Qemu-devel] [PATCH 0/4] gtk: Hide menubar in fullscreen mode (lp 1294898) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: manday@gmx.net, Gerd Hoffmann , Cole Robinson When compiled against gtk3, the gtk UI menubar is visible in fullscreen mode, taking up space and annoying users. This series attempts to fix that. The main blocker is that when the menu bar is hidden, we lose access to the keyboard shortcuts associated with all the menu items, most importantly the one to actually _exit_ fullscreen mode. We fix this by installing the shortcuts on the top level windows (However this has a minor downside on gtk < 3.8, see patch 2 for details.) Cole Robinson (4): gtk: Grab accel_group from GtkDisplayState gtk: Install fullscreen accelerator on toplevel window gtk: Install vc accelerators on parent window gtk: Hide the menubar when in fullscreen mode (lp 1294898) ui/gtk.c | 65 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 25 deletions(-) -- 2.1.0