win32: Stop using gdk_surface_show

This commit is contained in:
Matthias Clasen 2020-03-09 10:25:06 -07:00
parent 90ff8ca797
commit 4dc27ee4a6
3 changed files with 5 additions and 2 deletions

View File

@ -2103,7 +2103,7 @@ gdk_drag_anim_timeout (gpointer data)
t = ease_out_cubic (f);
gdk_surface_show (drag->drag_surface);
gdk_win32_surface_show (drag->drag_surface, FALSE);
x = (drag->util_data.last_x +
(drag->start_x - drag->util_data.last_x) * t -
drag->hot_x);

View File

@ -428,6 +428,9 @@ gboolean _gdk_win32_surface_fill_min_max_info (GdkSurface *window,
gboolean _gdk_win32_surface_lacks_wm_decorations (GdkSurface *window);
void gdk_win32_surface_show (GdkSurface *surface,
gboolean already_mapped);
BOOL WINAPI GtkShowWindow (GdkSurface *window,
int cmd_show);

View File

@ -1043,7 +1043,7 @@ show_window_internal (GdkSurface *window,
}
}
static void
void
gdk_win32_surface_show (GdkSurface *window,
gboolean already_mapped)
{