add shm_buffer class

This commit is contained in:
Raphael Robatsch 2021-10-20 20:20:27 +02:00
commit d8098fccc0
6 changed files with 109 additions and 25 deletions

13
src/common.hpp Normal file
View file

@ -0,0 +1,13 @@
// somebar - dwl bar
// See LICENSE file for copyright and license details.
#pragma once
#include <wayland-client.h>
#include "wlr-layer-shell-unstable-v1-client-protocol.h"
void waylandFlush();
extern wl_display *display;
extern wl_compositor *compositor;
extern wl_shm *shm;
extern zwlr_layer_shell_v1 *wlrLayerShell;