GNU bug report logs -
#53793
29.0.50; 'fullscreen' frame parameter on pgtk
Previous Next
Reported by: Augusto Stoffel <arstoffel <at> gmail.com>
Date: Sat, 5 Feb 2022 08:57:01 UTC
Severity: normal
Found in version 29.0.50
Done: Po Lu <luangruo <at> yahoo.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 06 Feb 2022 17:38:14 +0800
with message-id <87czk0pc6x.fsf <at> yahoo.com>
and subject line Re: bug#53793: 29.0.50; 'fullscreen' frame parameter on pgtk
has caused the debbugs.gnu.org bug report #53793,
regarding 29.0.50; 'fullscreen' frame parameter on pgtk
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
53793: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53793
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
On Emacs compiled with pgtk, (frame-parameter nil 'fullscreen) returns
nil when the frame is maximized. (Without pgtk, it returns the symbol
'maximized'; if I make the frame fullscreen, then the above always
returns the usual 'fullboth'.)
I'm using Gnome on Wayland. More system information below:
In GNU Emacs 29.0.50 (build 15, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4)
of 2022-02-04 built on toolbox
Repository revision: 3e20a900195cb72e4c940db9ff123c3049483074
Repository branch: master
System Description: Fedora Linux 35 (Workstation Edition)
Configured using:
'configure --with-pgtk'
[Message part 3 (message/rfc822, inline)]
(When replying to bug reports in the future, please use "Reply to All",
so that your messages can be recorded by the bug tracker.)
Augusto Stoffel <arstoffel <at> gmail.com> writes:
> Yes, the frame parameter is correctly reported now, thanks!
I'm closing this bug then, thanks.
> It also seems that `move-frame-functions' are not run as promised. Or
> at least the following bit of configuration is still broken on pgtk but
> works fine on X.
If you're running Wayland, then it's a limitation of the Wayland
protocol, which has no global coordinate system. GTK exposes it as
every Wayland window (surface) being placed at 0, 0.
> (add-hook 'move-frame-functions
> (lambda (frame) "Undecorate frame when maximized."
> (set-frame-parameter frame 'undecorated
> (eq 'maximized (frame-parameter frame 'fullscreen)))))
This bug report was last modified 3 years and 162 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.