Comment 26 for bug 1436553

Revision history for this message
luke (lukefromdc) wrote :

I just tested your build, behavior with CSD apps and tiling was apparently the same as with the older single-line patch applied, as I normally apply it to all my builds. I fired up gnome-disks, and it could not be tiled to the edge nor even dragged to the edge with either build. For my uses this is OK as I use few CSD apps and never tile them.

I fired up GtkInspector and may have found the problem, at least in gnome-disks. When the application is maximized, the window state comes up as "background csd maximized" but when it is tiled only as "background csd" meaning theme cannot so easily separate out the tiled state. The maximum box-shadow radius controls the gap left when tiling, so it appears we have a choice beteeen black corners on all CSD apps and gaps between and around them when tiled. Server-side decorated apps tile fine, at least in my theme. I'll take the gaps over the black corners or forced use of a square-edged theme.

I build compiz locally with a fix that works for my use case, and that's about all I am hoping for at this point. My theme does support tiling, for which I have exactly one use case which does not involve CSD windows.

Fix might be to have compiz put a "tiled" state on all tiled CSD windows (if possible), then load a CSS file to force the box shadow to "none" when tiled