- Setup dynamic linking to libdecor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user