update wl_seat interface version so that gtk apps function...for
Daniel ;) Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
55ab9a8a39
commit
5014b2965e
|
@ -158,7 +158,7 @@ _e_comp_wl_input_cb_bind_seat(struct wl_client *client, void *data, uint32_t ver
|
||||||
|
|
||||||
/* try to create the seat resource */
|
/* try to create the seat resource */
|
||||||
cdata = data;
|
cdata = data;
|
||||||
res = wl_resource_create(client, &wl_seat_interface, MIN(version, 3), id);
|
res = wl_resource_create(client, &wl_seat_interface, MIN(version, 4), id);
|
||||||
if (!res)
|
if (!res)
|
||||||
{
|
{
|
||||||
ERR("Could not create seat resource: %m");
|
ERR("Could not create seat resource: %m");
|
||||||
|
@ -173,7 +173,8 @@ _e_comp_wl_input_cb_bind_seat(struct wl_client *client, void *data, uint32_t ver
|
||||||
_e_comp_wl_input_cb_unbind_seat);
|
_e_comp_wl_input_cb_unbind_seat);
|
||||||
|
|
||||||
_e_comp_wl_input_update_seat_caps(cdata);
|
_e_comp_wl_input_update_seat_caps(cdata);
|
||||||
if (cdata->seat.version >= 2) wl_seat_send_name(res, cdata->seat.name);
|
if (cdata->seat.version >= WL_SEAT_NAME_SINCE_VERSION)
|
||||||
|
wl_seat_send_name(res, cdata->seat.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -311,7 +312,7 @@ e_comp_wl_input_init(E_Comp_Data *cdata)
|
||||||
|
|
||||||
/* create the global resource for input seat */
|
/* create the global resource for input seat */
|
||||||
cdata->seat.global =
|
cdata->seat.global =
|
||||||
wl_global_create(cdata->wl.disp, &wl_seat_interface, 3,
|
wl_global_create(cdata->wl.disp, &wl_seat_interface, 4,
|
||||||
cdata, _e_comp_wl_input_cb_bind_seat);
|
cdata, _e_comp_wl_input_cb_bind_seat);
|
||||||
if (!cdata->seat.global)
|
if (!cdata->seat.global)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue