diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-29 17:06:55 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-29 17:06:55 +0200 |
| commit | 7a8343e7e482c6303242468f917f1d50d4e9ff38 (patch) | |
| tree | fc6f4af0281a991fa4d5738fcf5da0878067a606 /src/drivers | |
| parent | 52a15632a6b8457fae2a9db61fe346c40bd46f15 (diff) | |
Fix crash reported in issues #723 and #724
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index 77d9d5a0a..080f7f149 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -809,6 +809,7 @@ void Fl_Wayland_Window_Driver::wait_for_expose() { Fl_Window_Driver::wait_for_expose(); struct wld_window * xid = fl_wl_xid(pWindow); + if (!xid) return; if (pWindow->fullscreen_active()) { if (xid->kind == DECORATED) { while (!(xid->state & LIBDECOR_WINDOW_STATE_FULLSCREEN) || !(xid->state & LIBDECOR_WINDOW_STATE_ACTIVE)) { |
