2018-05-22 20:22:57 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* Copyright © 2018 Rémi Denis-Courmont
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU Lesser General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2022-05-15 10:12:49 +02:00
|
|
|
struct vlc_window;
|
2018-05-22 20:22:57 +02:00
|
|
|
struct wl_registry;
|
2018-05-24 19:27:07 +02:00
|
|
|
struct wl_surface;
|
2018-05-22 20:22:57 +02:00
|
|
|
struct wl_list;
|
|
|
|
|
2022-05-15 10:12:49 +02:00
|
|
|
int seat_create(struct vlc_window *wnd, struct wl_registry *,
|
2018-05-22 20:22:57 +02:00
|
|
|
uint32_t name, uint32_t version, struct wl_list *list);
|
2018-05-24 17:30:15 +02:00
|
|
|
int seat_destroy_one(struct wl_list *list, uint32_t name);
|
2018-05-22 20:22:57 +02:00
|
|
|
void seat_destroy_all(struct wl_list *list);
|
2018-05-24 19:27:07 +02:00
|
|
|
|
|
|
|
int seat_next_timeout(const struct wl_list *list);
|
|
|
|
void seat_timeout(struct wl_list *list);
|
|
|
|
|
2022-05-15 10:12:49 +02:00
|
|
|
struct wl_surface *window_get_cursor(vlc_window_t *wnd, int32_t *hotspot_x,
|
2018-05-24 19:27:07 +02:00
|
|
|
int32_t *hotspot_y);
|