On Sat, Jan 17, 2004 at 07:07:01PM +0100, Jérôme Warnier wrote: > Le sam 17/01/2004 à 17:56, Alessandro De Zorzi a écrit : > > when I open a small window such a stylist, the window don't have > > the X button on top bar... > I also saw that on Sid, while using Sawfish as window manager. Using > Metacity, the problem does not occur.
The Stylist window sets: _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_RESIZE But also sets: _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_UTILITY An EWMH-compliant window manager is going to make decisions regarding what decorations to provide based on the window type. I see in Sawfish's lisp/ChangeLog: 2002-10-17 John Harper <[EMAIL PROTECTED]> * sawfish/wm/state/wm-spec.jl: support some 1.1 features: _NET_WM_STATE_BELOW, _NET_WM_STATE_ABOVE, _NET_WM_TYPE_UTILITY, _NET_WM_TYPE_SPLASH, _NET_WM_TYPE_MENU, _NET_WM_TYPE_TOOLBAR. (Last two are actually 1.0) * sawfish/wm/frames.jl (frame-type-fallback-alist): added more types: utility, toolbar, menu, splash * sawfish/wm/windows.jl (mark-window-as-desktop, mark-window-as-dock): set more properties, including window depth and type I don't read Lisp at all well, but I presume that whatever decisions Sawfish makes regarding utility windows requires that they do not have a close widget. Wm-spec 1.3 does not say that a UTILITY window must have one, although the fact that in this case ALLOWED_ACTIONS includes the CLOSE hint would imply that there should be one. Openbox 3.x also adds the close widget. -- Marc Wilson | Don't worry -- the brontosaurus is slow, stupid, [EMAIL PROTECTED] | and placid.
signature.asc
Description: Digital signature