[PATCH 2/2 weston] toytoolkit: Don't draw shadows for maximized windows.

Bill Spitzak spitzak at gmail.com
Tue Aug 14 09:54:41 PDT 2012

On 08/13/2012 06:22 PM, Scott Moreau wrote:

> For maximize, it shouldn't draw the shadow
> border.

Every window manager I have seen does not draw the "edges" as well.

If you have not noticed this, it may explain why you are not seeing the 
problem as I am.

> Snapping will work fine. You do not snap to the inside edge of the
> decoration, you snap to the input region.

Plenty of X window managers do. Most common is when windows are snapped 
to top panels, the top edge goes under the panel to match the titlebar 
position to that which it will have when maximized. I agree that 
snapping to the inside on the other 4 edges is less common, but I was 
hoping Wayland would allow more consistency.

Basically what I want is for users to be able to 'snap' to the same 
locations that a maximized window is in. I would also like maximize 
vertically to produce the same vertical size as maximize.

> It has been building fine here for at least a couple months. You should
> try latest with the patches for mesa from here
> https://bugs.freedesktop.org/show_bug.cgi?id=52267

I sent some email with my current problems. Recompiling everything from 
the most recent git is not helping.

More information about the wayland-devel mailing list