all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: modify-frame-parameters with floating point offsets
Date: Thu, 05 Apr 2018 16:07:39 +0200	[thread overview]
Message-ID: <87po3d691w.fsf@gmail.com> (raw)
In-Reply-To: <5AC5C96C.6090201@gmx.at> (martin rudalics's message of "Thu, 05 Apr 2018 08:59:56 +0200")

martin rudalics <rudalics@gmx.at> writes:

>> No, the left external border is very small. Itʼs certainly not 20
>> pixels wide.
>
> Then it's possible that your window manager tries to optimize things
> in various ways without telling you the whole story.  I can imagine
> that if an external border is usually 20 pixels wide, a window manager
> might decide that showing the entire border on the edge of the display
> is of no use and move the window to some negative position.  I would
> dislike such behavior because it would make it virtually impossible to
> orderly tile the screen.  In either case you would have to look at the
> sources of your window manager to tell what it really does.

Whatever itʼs doing, gdk seems to have it figured out. Calling eg
gdk_window_get_frame_extents inside frame_geometry gets me values that
look much more sensible, whereas x_real_pos_and_offsets claims thereʼs
a 20 pixel border thatʼs simply not there visually.

Robert



  reply	other threads:[~2018-04-05 14:07 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-02 21:56 bug#31031: 27.0; (elisp) `Position Parameters', floating-point values Drew Adams
2018-04-03  6:46 ` martin rudalics
2018-04-03  8:25   ` Robert Pluim
2018-04-03 10:23     ` martin rudalics
2018-04-03 12:35       ` Robert Pluim
2018-04-03 16:18         ` modify-frame-parameters with floating point offsets Robert Pluim
2018-04-03 21:50           ` Robert Pluim
2018-04-04  7:51             ` martin rudalics
2018-04-04  7:51           ` martin rudalics
2018-04-04  8:54             ` Robert Pluim
2018-04-05  6:59               ` martin rudalics
2018-04-05 14:07                 ` Robert Pluim [this message]
2018-04-04  7:49         ` bug#31031: 27.0; (elisp) `Position Parameters', floating-point values martin rudalics
2018-04-04 12:07           ` Robert Pluim
2018-04-05  7:00             ` martin rudalics
2018-04-05 14:21               ` Robert Pluim
2018-04-06 10:28             ` Robert Pluim
2018-04-06 12:56               ` Eli Zaretskii
2018-04-06 13:09                 ` Robert Pluim
2018-04-06 13:19                   ` Eli Zaretskii
2018-04-03 15:08   ` Drew Adams
2018-04-04  7:51     ` martin rudalics

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=87po3d691w.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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.