mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
util/edges: use bitmask for wlr_edges
This commit is contained in:
parent
0fdb41fe7c
commit
368d0146fb
1 changed files with 4 additions and 4 deletions
|
|
@ -19,10 +19,10 @@
|
||||||
|
|
||||||
enum wlr_edges {
|
enum wlr_edges {
|
||||||
WLR_EDGE_NONE = 0,
|
WLR_EDGE_NONE = 0,
|
||||||
WLR_EDGE_TOP = 1,
|
WLR_EDGE_TOP = 1 << 0,
|
||||||
WLR_EDGE_BOTTOM = 2,
|
WLR_EDGE_BOTTOM = 1 << 1,
|
||||||
WLR_EDGE_LEFT = 4,
|
WLR_EDGE_LEFT = 1 << 2,
|
||||||
WLR_EDGE_RIGHT = 8,
|
WLR_EDGE_RIGHT = 1 << 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue