all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: frame placement
Date: Wed, 30 Nov 2022 15:16:22 -0500	[thread overview]
Message-ID: <jwv4jugcia3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: m3edtkwcjj.fsf@leonis4.robolove.meer.net

> A long running emacs (Xt toolkit) has now taken to positioning new
> frames at 0x0 regardless of what the windowmanager wants.
> xprop on the new frames show
>
> ``
> WM_NORMAL_HINTS(WM_SIZE_HINTS):
> 		user specified location: 0, 0
> 		user specified size: 838 by 750
> ``
>
> I'm wondering how this got set. there is nothing in the *-frame-list

Do you mean things like `default-frame-alist`?

> which is doing this, xrdb -query -all is blank I can't see anything in
> via x-get-resource, I can create fresh frames with user-position
> parameters but I want the default to go back to window manager
> placement (like it does in a fresh emacs)
>
> Any clues would help.

I'd try `M-x trace-function RET make-frame RET` or maybe
`M-x trace-function RET x-create-frame RET`

If the args passed to those functions "explain" the problem,
then `M-x debug-on-entry RET x-create-frame RET` would be my next step
(but make sure that bringing up the debugger doesn't need to create
a new frame ;-)


        Stefan




      reply	other threads:[~2022-11-30 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30 17:57 frame placement Madhu
2022-11-30 20:16 ` Stefan Monnier via Users list for the GNU Emacs text editor [this message]

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=jwv4jugcia3.fsf-monnier+emacs@gnu.org \
    --to=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.