[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing the `window-id' frame parameter on non-Core Input platforms
From: |
Po Lu |
Subject: |
Re: Removing the `window-id' frame parameter on non-Core Input platforms |
Date: |
Sat, 18 Dec 2021 15:22:53 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
Po Lu <luangruo@yahoo.com> writes:
> The only platform where it is useful is X with Core Input, where third
> party programs can use it to manipulate a frame's X Window.
>
> This is safe on Core Input, but on XInput 2 I'd like the freedom to
> change the underlying X window of a frame after it is created to work
> around some difficult GTK related problems, which will make continuing
> to support the `window-id' parameter unreasonable. Touch event tracking
> on XInput2 also requires that no non-Emacs code modify a window created
> by Emacs to work correctly.
>
> On non-X platforms, `window-id' is just a pointer which is even more
> useless, so I'd like to make this code in frame.c conditional on
> HAVE_X_WINDOWS && !HAVE_XINPUT2:
>
> w = (uintptr_t) FRAME_NATIVE_WINDOW (f);
> store_in_alist (alistptr, Qwindow_id,
> make_formatted_string (buf, "%"PRIuMAX, w));
>
> Does that look OK to you?
The problem this proposal was supposed to solve turned out to be
specific to a version of GNOME Shell, so I added an entry in
etc/PROBLEMS instead.
Please disregard this message.
- Removing the `window-id' frame parameter on non-Core Input platforms, Po Lu, 2021/12/18
- Re: Removing the `window-id' frame parameter on non-Core Input platforms,
Po Lu <=
- Re: Removing the `window-id' frame parameter on non-Core Input platforms, Eli Zaretskii, 2021/12/18
- Re: Removing the `window-id' frame parameter on non-Core Input platforms, Po Lu, 2021/12/18
- Re: Removing the `window-id' frame parameter on non-Core Input platforms, Eli Zaretskii, 2021/12/18
- Re: Removing the `window-id' frame parameter on non-Core Input platforms, Po Lu, 2021/12/18
- Re: Removing the `window-id' frame parameter on non-Core Input platforms, Stefan Monnier, 2021/12/18
- RE: [External] : Re: Removing the `window-id' frame parameter on non-Core Input platforms, Drew Adams, 2021/12/18
- Re: Removing the `window-id' frame parameter on non-Core Input platforms, Po Lu, 2021/12/18
- Re: Removing the `window-id' frame parameter on non-Core Input platforms, Stefan Monnier, 2021/12/18
- Re: Removing the `window-id' frame parameter on non-Core Input platforms, Po Lu, 2021/12/19
Re: Removing the `window-id' frame parameter on non-Core Input platforms, Akira Kyle, 2021/12/19