help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get X Window id from within Emacs?


From: Jean Louis
Subject: Re: How to get X Window id from within Emacs?
Date: Mon, 16 Dec 2024 08:20:47 +0300
User-agent: Mutt/2.2.12 (2023-09-09)

* Po Lu <luangruo@yahoo.com> [2024-12-16 03:42]:
> This is the ID of Emacs's "inner window", where it displays buffer text
> and decorations.  The `outer-window-id' frame parameter supplies a
> window ID that is suitable for external programs such as xdotool.

(format "0x%x" (string-to-number (frame-parameter nil 'outer-window-id))) ➜ 
"0x2c0506f"

This way now it works well, thank you much for looking into it.

-- 
Jean Louis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]