[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with toggling fullscreen mode

From: Fabrice Niessen
Subject: Re: Trouble with toggling fullscreen mode
Date: Mon, 26 Oct 2009 10:54:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi Alex,

Alex Bennee wrote:
> I'm having trouble with toggling full-screen mode on my netbook. [...]
> My emacs version is: "GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+
> Version 2.16.6)  of 2009-09-29 on"

This is what I'm using under Ubuntu:

--8<---------------cut here---------------start------------->8---
    (defun toggle-full-screen ()
      "Toggle between full screen and partial screen display on X11;
    courtesy of";
      (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
                             '(2 "_NET_WM_STATE_FULLSCREEN" 0)))

    (global-set-key (kbd "C-c z") 'toggle-full-screen)
--8<---------------cut here---------------end--------------->8---

Does this work for you?


Fabrice Niessen
Search the Web with "My Google Search Tools" on

reply via email to

[Prev in Thread] Current Thread [Next in Thread]