Move sway-specific functions in common/util.c into sway/

Modifier handling functions were moved into sway/input/keyboard.c;
opposite_direction for enum wlr_direction into sway/tree/output.c;
and get_parent_pid into sway/tree/root.c .
This commit is contained in:
M Stoeckl 2019-01-21 12:39:16 -05:00
parent 410c961388
commit d7ff776552
12 changed files with 135 additions and 143 deletions

View file

@ -152,4 +152,6 @@ void premultiply_alpha(float color[4], float opacity);
void scale_box(struct wlr_box *box, float scale);
enum wlr_direction opposite_direction(enum wlr_direction d);
#endif