JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
i- A new quirk to accommodate the idiosyncrasies of XEmacs (and maybe
authorMarco Peereboom <marco@conformal.com>
Tue, 3 May 2011 16:46:52 +0000 (16:46 +0000)
committerMarco Peereboom <marco@conformal.com>
Tue, 3 May 2011 16:46:52 +0000 (16:46 +0000)
commit5140afe339098eb03d913f633223ddbed2391eb5
tree95af6fbc79fc2418c1cae28c3e31aed885b8255f
parentf9a4023081be5e4f3e674c6ea56ac4b0b88256d7
i- A new quirk to accommodate the idiosyncrasies of XEmacs (and maybe
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>
scrotwm.c