I know that a Window Manager usually reparents the top-level window(s) of
an application, in order to wrap the window with various Window Manager controls (resize, minimize, move, etc).
But, can an X application do that as well? If so, how?
On 2026-03-02, Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
I know that a Window Manager usually reparents the top-level
window(s) of an application, in order to wrap the window with
various Window Manager controls (resize, minimize, move, etc).
But, can an X application do that as well? If so, how?
With XReparentWindow() (see the man page).
I know that a Window Manager usually reparents the top-level window(s) of
an application, in order to wrap the window with various Window Manager controls (resize, minimize, move, etc).
But, can an X application do that as well? If so, how?
The hypothetical scenario I'm looking at is an X11-based email client
that only displays text emails must now display html emails. Instead
of incorporating a full html parser and display painter, the email
client invokes an external application (a web browser) to present
the html content. BUT, rather than have the web browser pop up as
it's own window, the email client needs the browser to paint within
one of the email application windows. How does the email client
invoke the web browser, and capture it's top-level window?
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 59 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 19:25:39 |
| Calls: | 810 |
| Calls today: | 1 |
| Files: | 1,287 |
| D/L today: |
10 files (21,017K bytes) |
| Messages: | 193,987 |