mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 08:58:08 +02:00
shell: Don’t change popups’ window types until the next configure event
This standardises their behaviour with that of the other window types, where the type change is only committed on configure.
This commit is contained in:
parent
dc4332f1ff
commit
b995e1d053
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue