From b995e1d0531ba7156e1319002dafed80a7ca2a09 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 25 Nov 2013 18:01:39 +0000 Subject: [PATCH] =?UTF-8?q?shell:=20Don=E2=80=99t=20change=20popups?= =?UTF-8?q?=E2=80=99=20window=20types=20until=20the=20next=20configure=20e?= =?UTF-8?q?vent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This standardises their behaviour with that of the other window types, where the type change is only committed on configure. --- src/shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shell.c b/src/shell.c index e9d733c15..2bfc463ef 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2192,13 +2192,14 @@ set_popup(struct shell_surface *shsurf, { assert(parent != NULL); - shsurf->type = SHELL_SURFACE_POPUP; shsurf->popup.shseat = get_shell_seat(seat); shsurf->popup.serial = serial; shsurf->popup.x = x; shsurf->popup.y = y; shell_surface_set_parent(shsurf, parent); + + shsurf->next_type = SHELL_SURFACE_POPUP; } static void