unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Lars Ingebrigtsen <larsi@gnus.org>, Kai Tetzlaff <kai.tetzlaff@web.de>
Cc: 32977@debbugs.gnu.org
Subject: bug#32977: 26.1.50; Emacs (on gnome 3, wayland, debian buster) calculates incorrect horizontal positions
Date: Thu, 26 Nov 2020 16:45:20 +0100	[thread overview]
Message-ID: <fae3649a-b11a-d1fd-b9d3-5c851946b551@gmx.at> (raw)
In-Reply-To: <875z5ss1rc.fsf@gnus.org>

 > I can reproduce this bug in Emacs 28:
 >
 > (set-frame-position (selected-frame) 0 0)
 > => t
 > (frame-position (selected-frame))
 > => (-10 . 66)

-10 is the position of the WM border.  I tried to describe that in
Bug#40817.  The frame proper starts at 0.

 > If I do this, I can clearly see that the frame isn't outside the screen
 > (i.e., I can see other windows between the Emacs frame and the border of
 > the screen):
 >
 > (set-frame-position (selected-frame) 9 0)
 > => t
 >
 > But still:
 >
 > (frame-position (selected-frame))
 > => (-1 . 66)
 >
 > This is a Debian bullseye system with Gnome Shell.
 >
 > Anybody got an idea what's going on here?

Mutter doesn't like us.

martin





  parent reply	other threads:[~2020-11-26 15:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-07 19:07 bug#32977: 26.1.50; Emacs (on gnome 3, wayland, debian buster) calculates incorrect horizontal positions Kai Tetzlaff
2020-11-26 13:09 ` Lars Ingebrigtsen
2020-11-26 14:32   ` Robert Pluim
2020-11-26 15:45   ` martin rudalics [this message]
2020-11-27  7:58     ` Lars Ingebrigtsen
2020-11-27  9:35       ` martin rudalics
2020-11-29 10:11         ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=fae3649a-b11a-d1fd-b9d3-5c851946b551@gmx.at \
    --to=rudalics@gmx.at \
    --cc=32977@debbugs.gnu.org \
    --cc=kai.tetzlaff@web.de \
    --cc=larsi@gnus.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).