move input code from compositor.c into input.c

This commit is contained in:
Kristian Høgsberg
2013-04-18 15:40:10 -04:00
parent 29139d4a45
commit b5e26104ee
3 changed files with 1191 additions and 1149 deletions
+1 -1149
View File
File diff suppressed because it is too large Load Diff
+11
View File
@@ -870,6 +870,10 @@ void
weston_compositor_sleep(struct weston_compositor *compositor); weston_compositor_sleep(struct weston_compositor *compositor);
void void
weston_compositor_update_drag_surfaces(struct weston_compositor *compositor); weston_compositor_update_drag_surfaces(struct weston_compositor *compositor);
struct weston_surface *
weston_compositor_pick_surface(struct weston_compositor *compositor,
wl_fixed_t x, wl_fixed_t y,
wl_fixed_t *sx, wl_fixed_t *sy);
struct weston_binding; struct weston_binding;
@@ -1012,9 +1016,16 @@ int
weston_seat_init_keyboard(struct weston_seat *seat, struct xkb_keymap *keymap); weston_seat_init_keyboard(struct weston_seat *seat, struct xkb_keymap *keymap);
void void
weston_seat_init_touch(struct weston_seat *seat); weston_seat_init_touch(struct weston_seat *seat);
void
weston_device_repick(struct weston_seat *seat);
void void
weston_seat_release(struct weston_seat *seat); weston_seat_release(struct weston_seat *seat);
int
weston_compositor_xkb_init(struct weston_compositor *ec,
struct xkb_rule_names *names);
void
weston_compositor_xkb_destroy(struct weston_compositor *ec);
/* String literal of spaces, the same width as the timestamp. */ /* String literal of spaces, the same width as the timestamp. */
#define STAMP_SPACE " " #define STAMP_SPACE " "
+1179
View File
File diff suppressed because it is too large Load Diff