[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: Thu, 11 Feb 2021 08:52:31 +0000 (UTC)
commit 0ab521c8f58724c280ab01470645d3821af3c566
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 f5e6e0d425..4e62b55b31 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -2754,8 +2754,6 @@ gdk_wayland_surface_create_xdg_popup (GdkSurface *surface,
impl->shadow_left, impl->shadow_right,
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]