mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 20:30:11 +00:00
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). https://bugzilla.gnome.org/show_bug.cgi?id=759898
This commit is contained in:
parent
3cd79c11fc
commit
37bd22c3d9
@ -366,8 +366,7 @@ RegisterGdkClass (GdkWindowType wtype, GdkWindowTypeHint wtype_hint)
|
||||
case GDK_WINDOW_TEMP:
|
||||
if ((wtype_hint == GDK_WINDOW_TYPE_HINT_MENU) ||
|
||||
(wtype_hint == GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU) ||
|
||||
(wtype_hint == GDK_WINDOW_TYPE_HINT_POPUP_MENU) ||
|
||||
(wtype_hint == GDK_WINDOW_TYPE_HINT_TOOLTIP))
|
||||
(wtype_hint == GDK_WINDOW_TYPE_HINT_POPUP_MENU))
|
||||
{
|
||||
if (klassTEMPSHADOW == 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user