all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: tomasralph2000@gmail.com, Po Lu <luangruo@yahoo.com>
Cc: 63384@debbugs.gnu.org
Subject: bug#63384: x-display-mm-width and x-display-mm-height both return 0 on wayland
Date: Sun, 14 May 2023 07:59:56 +0300	[thread overview]
Message-ID: <83lehra4oj.fsf@gnu.org> (raw)
In-Reply-To: <442c86307ca7852252e081725ae6f01f@gmail.com> (tomasralph2000@gmail.com)

> Date: Sat, 13 May 2023 22:32:09 +0000
> From: tomasralph2000@gmail.com
> 
> So, back to emacs. Maybe it should be fixed on this side? I personally made a workaround in the
> meantime that checks if these functions return 0, and if they do, they override the pgtk function that
> returns the display info, calculating the proper values for the mm size. It works great. You can find it
> here, in case anyone finds it useful.

If we can have a reasonably useful fallback on our side, I think we
should add it.  AFAIU, this problem also exists on the emacs-29
branch?  If so, I think we should add this fallback, if it is
reasonable, to the emacs-29 branch soon.





  reply	other threads:[~2023-05-14  4:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-09  2:08 bug#63384: x-display-mm-width and x-display-mm-height both return 0 on wayland tomasralph2000
2023-05-10  0:39 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-13 22:32 ` tomasralph2000
2023-05-14  4:59   ` Eli Zaretskii [this message]
2023-05-14  5:22     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-14 18:57 ` bug#63384: x-display-mm-width and x-display-mm-height both tomasralph2000
2023-06-05  9:12   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-05  3:29 ` bug#63384: x-display-mm-width and x-display-mm-height both return 0 on wayland William A Cadegan-Schlieper
2023-06-05  9:13   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lehra4oj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=63384@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=tomasralph2000@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.