[gtk/popup-shadow-width] wayland: Don't set window geometry before its known
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/popup-shadow-width] wayland: Don't set window geometry before its known
- Date: Sun, 14 Feb 2021 09:16:45 +0000 (UTC)
commit 59127c3bab27ce9ec044fd22e341189818947043
Author: Jonas Ådahl <jadahl gmail com>
Date: Thu Feb 11 09:49:23 2021 +0100
wayland: Don't set window geometry before its known
We shouldn't set the window geometry when creating the popup; it's not
known at this time. Instead set it the common way, in response to
painting, when it is up to date and correct.
gdk/wayland/gdksurface-wayland.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c
index 26d328ab28..2f95339fb0 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -2750,8 +2750,6 @@ gdk_wayland_surface_create_xdg_popup (GdkSurface *surface,
&impl->shadow_top,
&impl->shadow_bottom);
- gdk_wayland_surface_sync_shadow (surface);
-
if (grab_input_seat)
{
struct wl_seat *seat;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]