move input code from compositor.c into input.c

Kristian Høgsberg 12 years ago
parent 29139d4a45
commit b5e26104ee
  1. 1150
      src/compositor.c
  2. 11
      src/compositor.h
  3. 1179
      src/input.c

File diff suppressed because it is too large Load Diff

@ -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 " "

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save