[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Support fullscreen values fullheight and fullwidth on pgtk
From: |
Eli Zaretskii |
Subject: |
Re: Support fullscreen values fullheight and fullwidth on pgtk |
Date: |
Fri, 08 Jul 2022 08:49:15 +0300 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> Date: Fri, 08 Jul 2022 10:30:16 +0800
>
> Actually, I think we need a more general mechanism to report which
> `fullscreen' states can be set, and then to use that in
> `toggle-frame-fullscreen' (and other places that set the
> `fullscreen-restore' frame parameter.)
>
> So this:
>
> (if (memq fullscreen-restore '(maximized fullheight fullwidth))
>
> would probably become
>
> (if (display-supports-fullscreen-p fullscreen-restore)
>
> WDYT?
If this is useful and makes the code clearer and easier to maintain,
sure. But the display-*-p predicates need to be implemented for all
the supported frame types, not just for PGTK and X.
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Florian Rommel, 2022/07/03
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Po Lu, 2022/07/03
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Eli Zaretskii, 2022/07/03
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Florian Rommel, 2022/07/03
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Po Lu, 2022/07/03
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Florian Rommel, 2022/07/07
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Po Lu, 2022/07/07
- Re: Support fullscreen values fullheight and fullwidth on pgtk,
Eli Zaretskii <=
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Po Lu, 2022/07/08
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Eli Zaretskii, 2022/07/08
- Re: Support fullscreen values fullheight and fullwidth on pgtk, Po Lu, 2022/07/08