Hybrid Wayland/X11 : more accurate writing of fl_wl_display().
This commit is contained in:
parent
9276ade07b
commit
1ca767eb13
@ -1465,6 +1465,7 @@ void Fl_Wayland_Screen_Driver::reset_spot() {
|
||||
}
|
||||
|
||||
|
||||
struct wl_display *fl_wl_display() {
|
||||
struct wl_display *fl_wl_display() {
|
||||
if (!Fl_Wayland_Screen_Driver::wl_display || !Fl_Wayland_Screen_Driver::wl_registry) return NULL;
|
||||
return Fl_Wayland_Screen_Driver::wl_display;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user