mirror of
https://github.com/labwc/labwc.git
synced 2026-02-17 22:05:30 -05:00
common: add node-type.c/h (renaming ssd_part_type to lab_node_type)
ssd_part_type contains several node types that are not actually part of server-side decorations (ROOT, MENU, OSD, etc.) Rename it accordingly and move it to a common location, along with some related conversion/comparison functions.
This commit is contained in:
parent
502473f343
commit
1188534876
28 changed files with 345 additions and 315 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include "common/edge.h"
|
||||
#include "ssd.h"
|
||||
#include "common/node-type.h"
|
||||
|
||||
struct view;
|
||||
struct seat;
|
||||
|
|
@ -32,7 +32,7 @@ struct cursor_context {
|
|||
struct view *view;
|
||||
struct wlr_scene_node *node;
|
||||
struct wlr_surface *surface;
|
||||
enum ssd_part_type type;
|
||||
enum lab_node_type type;
|
||||
double sx, sy;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue