tablet-shell: Remove 'seat' member
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
4dab5dba3f
commit
4034c7ac21
@ -52,7 +52,6 @@ struct tablet_shell {
|
|||||||
|
|
||||||
struct weston_compositor *compositor;
|
struct weston_compositor *compositor;
|
||||||
struct weston_process process;
|
struct weston_process process;
|
||||||
struct weston_seat *seat;
|
|
||||||
struct wl_client *client;
|
struct wl_client *client;
|
||||||
|
|
||||||
struct weston_surface *surface;
|
struct weston_surface *surface;
|
||||||
@ -470,8 +469,6 @@ home_key_binding(struct wl_seat *seat, uint32_t time,
|
|||||||
if (shell->state == STATE_LOCKED)
|
if (shell->state == STATE_LOCKED)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
shell->seat = (struct weston_seat *) seat;
|
|
||||||
|
|
||||||
if (state) {
|
if (state) {
|
||||||
wl_event_source_timer_update(shell->long_press_source, 500);
|
wl_event_source_timer_update(shell->long_press_source, 500);
|
||||||
shell->long_press_active = 1;
|
shell->long_press_active = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user