- Setup libdecor, which is used automatically when available.

TODO:
 - xdg decorations
 - threading
 - thread-safe window manager
This commit is contained in:
2025-12-15 23:40:06 -05:00
parent 97f5bbfe00
commit 520a0e1363
25 changed files with 508 additions and 90 deletions

View File

@@ -25,11 +25,11 @@ namespace fennec
{
wayland_eglsurface::wayland_eglsurface(wayland_window* win, eglcontext* ctx)
: eglsurface(win, ctx,
reinterpret_cast<EGLNativeWindowType>(
wl_egl_window_create(
static_cast<wl_surface*>(win->get_native_handle()), win->get_size().x, win->get_size().y
)
: eglsurface(
win, ctx,
wl_egl_window_create(
static_cast<wl_surface*>(win->get_native_handle()),
win->get_config().rect.size.x, win->get_config().rect.size.y
)
) {