diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-04-27 17:11:58 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2022-05-24 22:11:23 +0300 |
commit | 870abb15259afc7f59f9c0493db5186c357f9d45 (patch) | |
tree | c058ac36cce42d2728c832ce1d1517ecb2ccd8a1 | |
parent | a158b4353c7b608a0c1fac42f39704043f62376b (diff) | |
download | weston-870abb15259afc7f59f9c0493db5186c357f9d45.tar.gz |
simple-egl: Remove uneeded check
display->wm_base is checked right after handling registry object, and
with it the globals, so there's no to perform and additional check for
xwm_base.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
(cherry picked from commit c15699b7f811d21528f04085655943fe75d2a79b)
-rw-r--r-- | clients/simple-egl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 4c3ad682..93ff3e59 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.c @@ -399,9 +399,6 @@ create_surface(struct window *window) if (!window->frame_sync) eglSwapInterval(display->egl.dpy, 0); - if (!display->wm_base) - return; - if (window->fullscreen) xdg_toplevel_set_fullscreen(window->xdg_toplevel, NULL); else if (window->maximized) |