- Setup dynamic linking to libdecor

This commit is contained in:
2025-12-15 15:23:30 -05:00
parent 1acf00138a
commit b64ce44d4e
9 changed files with 386 additions and 13 deletions

View File

@@ -59,6 +59,12 @@ void wayland_window::show() {
return;
}
if (is_running()) {
// reshow window
return;
}
wayland_window* root = this;
while (root != nullptr and root->is_popup()) {
root = static_cast<wayland_window*>(root->get_parent());
@@ -78,6 +84,10 @@ void wayland_window::show() {
xdgtoplevel = xdg_surface_get_toplevel(xdgsurface);
xdg_toplevel_add_listener(xdgtoplevel, &xdg_toplevel_listener, this);
if (has_decorations()) {
}
frame_callback = wl_surface_frame(surface);
wl_callback_add_listener(frame_callback, &frame_callback_listener, this);