Skip to content

Commit e616bc7

Browse files
committed
Attach decoration before commiting surface
Wrong order!
1 parent 23fb053 commit e616bc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/linux/Wayland.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,8 +1025,8 @@ const libdecor_listener = struct {
10251025
const state = libdecor.?.libdecor_state_new(width, height);
10261026
defer libdecor.?.libdecor_state_free(state);
10271027

1028-
c.wl_surface_commit(wl.surface);
10291028
libdecor.?.libdecor_frame_commit(wl.libdecor_frame, state, configuration);
1029+
c.wl_surface_commit(wl.surface);
10301030

10311031
if (changed_size) {
10321032
//does not work :(

0 commit comments

Comments
 (0)