Merge branch 'development' of https://github.com/project-repo/cagebreak into development

This commit is contained in:
Cagebreak Signing Key 3 2020-07-19 09:16:57 +02:00
commit 70730eb90f
2 changed files with 2 additions and 4 deletions

View file

@ -261,10 +261,7 @@ scan_out_primary_view(struct cg_output *output) {
return false;
}
if(!wlr_output_attach_buffer(wlr_output, surface->buffer)) {
return false;
}
wlr_output_attach_buffer(wlr_output, &surface->buffer->base);
return wlr_output_commit(wlr_output);
}

View file

@ -7,6 +7,7 @@
* See the LICENSE file accompanying this file.
*/
#include <X11/Xutil.h>
#include <stdbool.h>
#include <stdlib.h>
#include <wayland-server-core.h>