mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-11-08 13:29:50 -05:00
Upgrade to wlroots 0.15
- Update wlr_box includes to util/box.h: the wlroots header has been moved upstream. - Subsurface fields have been moved - Create renderer and allocator, stop using wlr_backend_get_renderer - Initalize output rendering
This commit is contained in:
parent
388d60d6b8
commit
395189fb05
12 changed files with 41 additions and 36 deletions
2
util.h
2
util.h
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef CG_UTIL_H
|
||||
#define CG_UTIL_H
|
||||
|
||||
#include <wlr/types/wlr_box.h>
|
||||
#include <wlr/util/box.h>
|
||||
|
||||
/** Apply scale to a width or height. */
|
||||
int scale_length(int length, int offset, float scale);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue