Subject: bug#18675: Bug#730593: emacs24: fails to set fullscreen frame parameter on gnome 3

From: Rob Browning <[email-masked]>
Date: Thu, 09 Oct 2014 17:57:35 -0500

tags 730593 confirmed
thanks
[When possible, please preserve the -forward address in any replies.]

I can reproduce this with current Debian Gnome 3, while in XFCE, Emacs
does shift to full screen.

Pedro Ângelo <[email-masked]> writes:

> Package: emacs24
> Version: 24.3+1-2
> Severity: normal
>
> Dear Maintainer,
>
> On my .emacs I use the following command to set the emacs window to fullscreen
> on startup:
>
>     (set-frame-parameter nil 'fullscreen 'fullboth)
>
> This has stopped working in the Emacs24 package in debian testing since the
> recent gnome updates. From the alternatives at
> http://www.emacswiki.org/emacs/FullScreen, the following don't work:
>
>  * Starting Emacs with the -fs parameter
>
>  * Sending the fullscreen message directly to the window manager with
>
>     (defun fullscreen ()
>            (interactive)
>            (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
>                              '(2 "_NET_WM_STATE_FULLSCREEN" 0)))
>
> What *does* work:
>
>  * Setting the window to fullscreen via the *wmctrl* external program
>
>   * Setting the window to fullscreen using the gnome key binding to toggle
> fullscreen
>
> This looks like some change in gnome made emacs not able to request fullscreen
> as a frame property

Further info: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730593

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4