piece. I found a few nits but the direction is better and we should have
a much easier time fixing those nits over time.
This also modifies how transients are handled as they now can be obscured
by other windows. Takes a little getting used to but again it makes more
sense then the old behavior.
Code written by Jason L. Wright" <jason@thought.net>.
dmenu code written by me based on a diff from
Ryan McBride <mcbride@countersiege.com> to find windows.
other programs). When XEmacs causes a ConfigurationRequest to be
generated, it expects the ConfigureNotify response to contain matching
dimensions. If it doesn't get a matching response, it re-sends the
ConfigureRequest forever.
- Don't send ConfigureRequest events to applications using this new
quirk because, at least for XEmacs, they prevent the window contents
from filling the window frame. I also put some comments in the
"configreq_win" function questioning whether it's actually needed. I
think it may be superfluous, given that it's always called right after a
call to "XConfigureWindow". But this assertion is based on my limited
testing and should be reviewed by an actual X protocol expert.
- Apply the existing "floating" quirk to the XEmacs Ediff window, so
that it acts like a dialog box.
- In the "propertynotify" function, call "bar_update" for the XA_WM_NAME
property. This helps for things like shells that update the XTerm title
to reflect the user's current directory.
Some of this may sound familiar. I sent a similar patch a long time ago,
but you wanted some revisions. Two years on, here they are. So much for
quick turnaround.
from Chuck Musser <cmusser@sonic.net>
here's the patch for EWMH support for scrotwm. Again, I'm really sorry
that it took this long. The patch is against the latest CVS version. Also,
the code should adhere to style(9) this time.
Like I promised, the patch implements (at least) the following:
- autoquirking using the _NET_WM_WINDOW_TYPE property (already present in
the previous patch)
- the _NET_ACTIVE_WINDOW property should work properly now
- fullscreen windows using the _NET_WM_STATE_FULLSCREEN property
- floaters remember floating state and position when restarting scrotwm
- implemented _NET_WM_STATE and _NET_WM_ALLOWED_ACTIONS.
There's one thing though. _NET_WM_ALLOWED_ACTIONS still allows only
floaters to be resized. This is because I couldn't think of a way to
implement the "resize the stack" in way that isn't surprinsing. For
example, when we have more than two columns (master and 1 other) in the
layout, I can't think of good way to react to a request for resizing a
window in the middle columns. I can implement it, but I need you to tell
me exactly how you want it to behave. :)
Do tell me if you find any bugs in the patch. All other feedback is
appreciated as well.
- Tuukka
From: Tuukka Kataja <stuge@xor.fi>
Thanks and some cleanup by me.