Re: Work in Progress: draft 1.9a
- From: Matthias Ettrich <ettrich troll no>
 
- To: wm-spec-list gnome org
 
- Subject: Re: Work in Progress: draft 1.9a
 
- Date: Sun, 4 Jul 1999 14:37:59 +0200
 
On Sun, 04 Jul 1999, Matthias Ettrich wrote:
> On Sun, 04 Jul 1999, Marko Macek wrote:
> 
> [snip]
> 
> Thanks for your work Marko (I'm, unfortunately, running a bit out of time).
> 
> Regarding decorations: Didn't we agree on dropping the DECORATION hint and use
> the Motif hint instead?  At least someone argued heavily for that and finally
> convinced me.  
> 
> 
Hi (again),
after reading more about the MWM hints, I changed my mind once again, I'm
afraid. I don't mind how motif does the decoration hint, but I don't like its
tight connection functions and inputMode. For those not familiar with MWM, the
hint is basically a struct 
struct PropMotifWmHints
{
  int      flags;
  int      functions;
  int      decorations;
  int      inputMode;
};
Anyone out there who knows more about inputMode? I read a reference to "modal"
so I assume it has to do with modal dialogs.
Do we need something like this? At first, I thought: yes, we do. But now I
think ICCCM handles that just fine: applications with modal dialogs should
request the WM_TAKE_FOCUS protocol and take care themselves that the modal
dialog gets the focus.
Back to the MWM hints. The idea to put all window hints in one struct, is
right. I suggest we do exactly the same with all application window properties. 
So there should be one _NET_WM_HINT property, containing a big struct (plus a
flag member, I guess).
Rationale: notable speedup when mapping windows. Remember: each single property
requires one roundtrip between the window manager and the X-Server.
Transporting larger amounts of data is cheap, but the roundtrips really matter.
Matthias
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]