forked from AuroraMiddleware/gtk
wayland: Call wl_shell_surface_set_{popup,transient,toplevel} before attach
The requests only have an effect if you call them before the buffer is attached to the surface.
This commit is contained in:
parent
9d0febc9a6
commit
161b9d2066
@ -1313,11 +1313,11 @@ gdk_wayland_window_process_updates_recurse (GdkWindow *window,
|
|||||||
cairo_rectangle_int_t rect;
|
cairo_rectangle_int_t rect;
|
||||||
int i, n;
|
int i, n;
|
||||||
|
|
||||||
|
gdk_wayland_window_map (window);
|
||||||
|
|
||||||
if (impl->cairo_surface)
|
if (impl->cairo_surface)
|
||||||
gdk_wayland_window_attach_image (window);
|
gdk_wayland_window_attach_image (window);
|
||||||
|
|
||||||
gdk_wayland_window_map (window);
|
|
||||||
|
|
||||||
n = cairo_region_num_rectangles(region);
|
n = cairo_region_num_rectangles(region);
|
||||||
for (i = 0; i < n; i++)
|
for (i = 0; i < n; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user