GNOME Bugzilla – Bug 759898
W32: There's a gap between tooltip window and its shadow
Last modified: 2016-01-14 14:56:12 UTC
It's because the shadow does not come from Adwaita, it's drawn by the WM, because tooltips have CS_DROPSHADOW class style.
Created attachment 317920 [details] [review] GDK W32: Don't use WM-drawn shadow for tooltips This prevents WM from drawing shadows around tooltip windows, which, in Adwaita, should have no shadow and are CSD-ish (which means that tooltip window is larger than it looks, and WM draws the shadow only on the outside, leaving a gap between the visible tooltip edge and the shadow).
Note that this will remove shadows from non-CSD-ish tooltips (such as when desktop composition is off). Not that anyone cares. I thought about disabling shadows on a per-window basis, but CS_DROPSHADOW is a *class* style, it will affect *all* tooltip windows made by a given GTK process.
Review of attachment 317920 [details] [review]: OK
Attachment 317920 [details] pushed as 37bd22c - GDK W32: Don't use WM-drawn shadow for tooltips