Kristian Høgsberg
fe7aa90ed4
compositor: Adapt to wl_surface going away
...
struct weston_surface is now the only surface type we have (in core, shell.c
has shell_surface, of course). A lot of code gets simpler and we never
have to try to guess whether an API takes a wl_surface or a weston_surface.
12 years ago
Kristian Høgsberg
a4036bbd23
input: Allocate pointer/keyboard/touch structs
12 years ago
Kristian Høgsberg
2bf876282f
input: Eliminate weston_seat::has_pointer/keyboard/touch
...
We can just look at weston_seat::pointer/keyboard/touch now.
12 years ago
Kristian Høgsberg
aad8099c2f
data-device: Update drag icon position from configure and motion handlers
...
We can now update the drag icon position directly from the configure
handler or the grab motion handler, and no longer need
weston_seat_update_drag_surface().
12 years ago
Kristian Høgsberg
624d8f2293
data-device: Don't emit a signal for drag icon changes
...
The signal used to be in libwayland-server and the listener in weston, but
now they're both in the same file, so lets stop using signal.
12 years ago
Kristian Høgsberg
7848bb687c
input: Move drag handling to data-device.c
12 years ago
Kristian Høgsberg
e314875d00
input: Merge wl_seat into weston_seat
12 years ago
Kristian Høgsberg
4912454ba4
input: Remove wl_seat destroy signal
...
We already have one on weston_seat.
12 years ago
Kristian Høgsberg
4a2a274350
input: Fold wl_seat init/release into weston_seat init/release
12 years ago
Kristian Høgsberg
e329f36533
input: Rename wl_touch to weston_touch
...
This is now a weston object.
12 years ago
Kristian Høgsberg
02bbabbd56
input: Rename wl_pointer to weston_pointer
...
This is now a weston object.
12 years ago
Kristian Høgsberg
a71e8b2e4d
input: Rename weston_device_repick() to weston_seat_repick()
...
Old left-over misnaming.
12 years ago
Kristian Høgsberg
80fb82df3a
input: Drop find_resource_for_client()
...
We can use find_resource_for_surface() instead now that it's all in the
same file.
12 years ago
Kristian Høgsberg
b5e26104ee
move input code from compositor.c into input.c
12 years ago
Kristian Høgsberg
29139d4a45
fold wl_keyboard into weston_keyboard
12 years ago
Kristian Høgsberg
2158a889a1
Import input structs and helper functions from wayland
12 years ago