Adding a client-settable _NET_WM_FRAME_EXTENTS
"Jasper St. Pierre" <[email protected]> Thu, 8 Aug 2013 16:59:23 -0400
| Newsgroups | gmane.comp.gnome.wm-spec |
|---|---|
| Message-ID | <CAA0H+QR8nEubEVDMiDAH3Q51NRPa4KBGU8UViYO+Xq_w6OAFUA@mail.gmail.com> |
--===============4005314330381491696== Content-Type: multipart/alternative; boundary=20cf3071ca04c4924604e375eef4 --20cf3071ca04c4924604e375eef4 Content-Type: text/plain; charset=ISO-8859-1 With Wayland around the corner, a lot of toolkits are adding client-side decorations support with undecorated ARGB32 windows. One of the big issues with this is that if you want to implement shadows or invisible borders for resizing frames, you end up with window managers not understanding where the frame extents actually are, since they just measure the X window. In GTK+, I have a local patch that adds a _GTK_FRAME_EXTENTS property, similar to _NET_WM_FRAME_EXTENTS, which describes additional padding or spacing around the frame of the window, meant for decorations like invisible borders or shadows. The only thing I can't think of is a name for it. _NET_FRAME_EXTENTS was my idea, but it's very likely to be confused with _NET_WM_FRAME_EXTENTS. -- Jasper --20cf3071ca04c4924604e375eef4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>With Wayland around the corner, a lot of toolkits are= adding client-side decorations support with undecorated ARGB32 windows. On= e of the big issues with this is that if you want to implement shadows or i= nvisible borders for resizing frames, you end up with window managers not u= nderstanding where the frame extents actually are, since they just measure = the X window.<br> <br>In GTK+, I have a local patch that adds a _GTK_FRAME_EXTENTS property, = similar to _NET_WM_FRAME_EXTENTS, which describes additional padding or spa= cing around the frame of the window, meant for decorations like invisible b= orders or shadows.<br> <br></div><div>The only thing I can't think of is a name for it. _NET_F= RAME_EXTENTS was my idea, but it's very likely to be confused with _NET= _WM_FRAME_EXTENTS.<br><br></div><div>-- <br>=A0 Jasper<br> </div></div> --20cf3071ca04c4924604e375eef4-- --===============4005314330381491696== 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 --===============4005314330381491696==--