Re: Re: Client messages _NET_WM_SHOW_WINDOW_MENU and _NET_WM_PERFORM_BUTTON_ACTION
Martin Gräßlin <[email protected]> Tue, 01 Jul 2014 11:17:28 +0200
| Newsgroups | gmane.comp.gnome.wm-spec |
|---|---|
| Message-ID | <3704559.SUN6iL3G8C@martin-desktop> |
--===============0937177634184313455== Content-Type: multipart/signed; boundary="nextPart4919092.p1RnpmHWoy"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart4919092.p1RnpmHWoy Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Tuesday 01 July 2014 18:04:10 you wrote: > On Tue, 01 Jul 2014 10:40:04 +0200 Martin Gr=C3=A4=C3=9Flin <mgraessl= [email protected]> said: > > thanks for the feedback. Addressed both and new patches attached. >=20 > i think that's missing lots of data, and background. >=20 > looking at this, my guess is that this is for client-side decorations= . but > then you are missing lots of data. >=20 > 1. for wm window menu, not just x,y but also the rectangle withint he= client > window that triggered the action should be supplied. this allows the = menu > to be aligned right below the button that triggered it. nice and clea= nly. > without this info the menu has no choice but to appear where the mous= e is > which may be anywhere inside the button/widget that was clicked I think this is already covered: "the Client should set it to useful va= lues=20 the window manager can use to position the menu". This could be extende= d to=20 say that it should also be used for the case that a button was clicked.= If the=20 client sets it to the proper position I don't think that we actually ne= ed the=20 complete rect. Do you think that would be sufficient? >=20 > 2. button action gives no hint as to what the action might be. exampl= e - we > double-clikc the titlebar. in some wm's this shades/unshades the wind= ow. in > others it maximizes/unmaximizes. the info here provides no informatio= n that > would indicate to the wm that we double-clicked the titlebar as title= bar may > be along the left side of the window or along the bottom. no idea. Right, I didn't think of double click. Hmm I'm wondering how we could i= ndicate=20 a double click given that we already use all five data elements. The on= ly idea=20 I have is using a bit mask to indicate that a double click was used. Bu= t I=20 don't like that ;-) Any better ideas? Cheers Martin --nextPart4919092.p1RnpmHWoy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlOyfLcACgkQqVXwidMiVrqdFwCePNSVdICeaMs9xRDsi4eBjyJa 4lkAoKCxuMFjp5Oz7qz7EJ9qtD3kkzrr =HNqh -----END PGP SIGNATURE----- --nextPart4919092.p1RnpmHWoy-- --===============0937177634184313455== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ wm-spec-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/wm-spec-list --===============0937177634184313455==--