Qartz-WM: a tip and a query for developers
Qartz-WM: a tip and a query for developers
- Subject: Qartz-WM: a tip and a query for developers
- From: Rob Arthan <email@hidden>
- Date: Tue, 20 May 2003 13:29:35 +0100
- Organization: Lemma 1 Ltd.
The discussion in the "why run any window manager" thread reminded me of
something I learnt porting an X application to Apple's X11. In general, in X,
you need to be careful not to make assumptions about window manager
behaviour. In particular, a window manager can implement many different ways
of minimizing (unmapping) a window. E.g., in KDE, you can minimize a window
leaving its title bar on the screen by double-clicking the title bar, or you
can click on the Minimize button and get rid of it altogether.
The tip about Quartz-WM is: if an application has several disjoint windows,
Quartz-WM lets them be minimized independently, whereas with most other
window managers, minimising the application's main window will cause all the
other windows in the application to be minimised at the same time. You need
to be careful about this, because some X operations like setting the input
focus will fail if the target window is unmapped, and under Qartz-WM you
discover that you can't assume that if some window is mapped then the main
window will be.
The query is: why is Quartz-WM like this? and can you change the behaviour?
The dock can get very, very full with all those beautiful thumb-nail
sketches, if an application has lots of windows most of which are minimised
most of the time.
Rob Arthan.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.