mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Fix a few typos
This commit is contained in:
parent
fe187fc887
commit
0fafab87e3
3 changed files with 12 additions and 10 deletions
|
|
@ -196,7 +196,7 @@ static void get_tablet_seat(struct wl_client *wl_client, struct wl_resource *res
|
|||
wl_list_insert(&manager->tablet_seats, &seat_client->client_link);
|
||||
wl_list_insert(&tablet_seat->clients, &seat_client->seat_link);
|
||||
|
||||
// We need to emit the devices allready on the seat
|
||||
// We need to emit the devices already on the seat
|
||||
struct wlr_tablet_v2_tablet *tablet_pos;
|
||||
wl_list_for_each(tablet_pos, &tablet_seat->tablets, link) {
|
||||
add_tablet_client(seat_client, tablet_pos);
|
||||
|
|
|
|||
|
|
@ -124,17 +124,17 @@ void add_tablet_tool_client(struct wlr_tablet_seat_client_v2 *seat,
|
|||
// Send the expected events
|
||||
if (tool->wlr_tool->hardware_serial) {
|
||||
zwp_tablet_tool_v2_send_hardware_serial(
|
||||
client->resource,
|
||||
client->resource,
|
||||
tool->wlr_tool->hardware_serial >> 32,
|
||||
tool->wlr_tool->hardware_serial & 0xFFFFFFFF);
|
||||
}
|
||||
if (tool->wlr_tool->hardware_wacom) {
|
||||
zwp_tablet_tool_v2_send_hardware_id_wacom(
|
||||
client->resource,
|
||||
client->resource,
|
||||
tool->wlr_tool->hardware_wacom >> 32,
|
||||
tool->wlr_tool->hardware_wacom & 0xFFFFFFFF);
|
||||
}
|
||||
zwp_tablet_tool_v2_send_type(client->resource,
|
||||
zwp_tablet_tool_v2_send_type(client->resource,
|
||||
tablet_type_from_wlr_type(tool->wlr_tool->type));
|
||||
|
||||
if (tool->wlr_tool->tilt) {
|
||||
|
|
@ -264,8 +264,10 @@ static ssize_t tablet_tool_button_update(struct wlr_tablet_v2_tablet_tool *tool,
|
|||
tool->pressed_serials[i] = -1;
|
||||
} else {
|
||||
i = -1;
|
||||
wlr_log(WLR_ERROR, "You pressed more than %d tablet tool buttons. This is currently not supporte by wlroots. Please report this with a description of your tablet, since this is either a bug, or fancy hardware",
|
||||
WLR_TABLET_V2_TOOL_BUTTONS_CAP);
|
||||
wlr_log(WLR_ERROR, "You pressed more than %d tablet tool buttons. "
|
||||
"This is currently not supported by wlroots. Please report this "
|
||||
"with a description of your tablet, since this is either a "
|
||||
"bug, or fancy hardware", WLR_TABLET_V2_TOOL_BUTTONS_CAP);
|
||||
}
|
||||
}
|
||||
if (state == ZWP_TABLET_PAD_V2_BUTTON_STATE_RELEASED && found) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue