mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
Remove gdk_win32_input_shape_combine_region()
This function currently calls gdk_win32_window_shape_combine_region(), which is wrong, because it leads to SetWindowRgn() being called with non-NULL region, which makes W32 disable theming (particularly - decoration theming), which makes decorations revert back to old GDI-drawn Windows 2000 variant, which looks out of place and interacts *badly* with alpha channel (because GDI). https://bugzilla.gnome.org/show_bug.cgi?id=733671
This commit is contained in:
parent
d97fd540ac
commit
9e11bb3335
@ -3227,10 +3227,10 @@ gdk_win32_input_shape_combine_region (GdkWindow *window,
|
|||||||
gint offset_x,
|
gint offset_x,
|
||||||
gint offset_y)
|
gint offset_y)
|
||||||
{
|
{
|
||||||
if (GDK_WINDOW_DESTROYED (window))
|
/* Input shapes are not supported: input shape is always the same as
|
||||||
return;
|
* the window shape; pixels with alpha == 0 are usually not clickable,
|
||||||
/* CHECK: are these really supposed to be the same? */
|
* clickability can be overriden by handling WM_NCHITTEST.
|
||||||
gdk_win32_window_shape_combine_region (window, shape_region, offset_x, offset_y);
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user