Re: [wmii] Setting EWMH Struts?

From: David Morris <lists_AT_morris-clan.net>
Date: Mon, 31 Mar 2008 18:04:03 -0600

On Mon, Mar 31, 2008 at 07:13:19PM -0400, Kris Maglione wrote:
> On Mon, Mar 31, 2008 at 03:13:33PM -0600, David Morris wrote:
>> I'm using this for a terminal window and have found resizing
>> is a bit buggy, and the window needs to be one column less
>> than maximized horizontally (at bottom of screen) for the
>> application to work.
>
> What do you mean by buggy? wmii intentionally doesn't
> update struts while you're resizing windows. It also won't
> set them to more than 1/3 of the screen size. Can you
> clarify?

I agree with both of those restrictions, and neither one is
related here.

The following all happens with a wistrut used on an mrxvt
terminal window. I haven't tested it with anything else
yet.

- Start with a new terminal window
- Make it floating
- Make it be managed by wistrut
- Maximize horizontally, set to a small height (about 8
  lines of text). On my system, the width of the terminal
  is, I think, exactly the screen width. At most a pixel
  less.
- Move to the bottom of the screen

At this point, EWMH struts are not set.

- Grab the upper-right corner and resize the window away
  from the right edge of the screen.

Now EWMH struts are set as expected. (Just tried it again,
and this time I had to use the upper left corner instead).

- Grab any corner of the terminal window and begin resizing
  it.

While resizing, the window will now move itself up above the
normal location of the wmii status bar (not immediately
above either, above by one full row of terminal text).
Because the window is no longer at the bottom of the screen
EWMH struts are not, of course, set.

I'm guessing this is two distinct bugs, one in wistrut and
the other related to resizing EWMH managed windows at the
normal location of the bar at the bottom of the screen.

Let me know if I can provide any other details. I can run
some more tests later this week if needed.

--David
Received on Tue Apr 01 2008 - 02:02:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:39:08 UTC