mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
stringop: move over has_prefix()
This commit is contained in:
parent
801bc76ce3
commit
c55dff95bc
3 changed files with 6 additions and 4 deletions
|
|
@ -647,10 +647,6 @@ static void seat_reset_input_config(struct sway_seat *seat,
|
|||
sway_device->input_device->wlr_device, NULL);
|
||||
}
|
||||
|
||||
static bool has_prefix(const char *str, const char *prefix) {
|
||||
return strncmp(str, prefix, strlen(prefix)) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the name of the built-in output, if any. Returns NULL if there isn't
|
||||
* exactly one built-in output.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue