[xmonad] Working emacs minibuffer frame
spencerjanssen at gmail.com
Sat Jun 6 16:32:09 EDT 2009
On Sat, Jun 06, 2009 at 07:24:25PM +0200, Jonas Bernoulli wrote:
> That does not work however. Xmonad does correctly reserve space for
> the strut but the minibuffer frame is still tilted.
> The EWMH spec states  that window managers MUST watch for property
> notify events if the Window Manager uses [the _NET_WM_STRUT_PARTIAL]
> property to assign special semantics to the window.
> Xmonad does that partially. The minibuffer window (frame) changes this
> property after it was created and Xmonad correctly reserves space for
> the window but fails to move the window to the correct location and
> resize it accordingly.
I think you're misinterpreting EWMH. The spec says that the WM should
allocate space at the screen edge, but does not say it should place the window
at that geometry. This should be accomplished by setting the geometry before
mapping or a ConfigureRequest after mapping (xmonad always honors geometry
requests from floating windows), and asking xmonad to float it. In order to
float a window, you can write a ManageHook in xmonad, set the transient hint
or use size hints that indicate a fixed geometry.
> (It also does not remove the border but this is
> not required by EWMH.)
You can remove the border in a ManageHook, if you'd like.
More information about the xmonad