mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 20:28:03 +02:00
move input code from compositor.c into input.c
This commit is contained in:
parent
29139d4a45
commit
b5e26104ee
3 changed files with 1191 additions and 1149 deletions
1150
src/compositor.c
1150
src/compositor.c
File diff suppressed because it is too large
Load diff
|
|
@ -870,6 +870,10 @@ void
|
|||
weston_compositor_sleep(struct weston_compositor *compositor);
|
||||
void
|
||||
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;
|
||||
|
|
@ -1012,9 +1016,16 @@ int
|
|||
weston_seat_init_keyboard(struct weston_seat *seat, struct xkb_keymap *keymap);
|
||||
void
|
||||
weston_seat_init_touch(struct weston_seat *seat);
|
||||
void
|
||||
weston_device_repick(struct weston_seat *seat);
|
||||
|
||||
void
|
||||
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. */
|
||||
#define STAMP_SPACE " "
|
||||
|
|
|
|||
1179
src/input.c
1179
src/input.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue