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

Destroying a window

When I destroy a window using the window managers destroy command (e.g.,
the Kill Window menu item in mwm), what is destroyed appears to be the
DISPLAY connection, rather than specific window the destroy was aimed at.
Therefore, multiple windows created using the same display variable 
disappear when ever any window is destroyed.  Also, the display value
(from xlib:open-display) is no longer valid.

Is there any way to get Kill Window to only destroy the single window
that the user directs?

Should I do a separate open-display for every separate window?  What are the
costs for having lots of open-display calls and display variables?

Thanks for your help.

Brad A. Myers
School of Computer Science
Carnegie Mellon University
Pittsburgh, PA  15213-3890
(412) 268-5150