Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion completions/fish/wl-paste.fish
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function __wl_paste_types --description 'Print types with context'

# Note fish does not handle passing unset variables
# to commands well, thus setting clip to "--primary" and passing
# that to wl-paste wont work, so if statements are used instead
# that to wl-paste won't work, so if statements are used instead
if test -n "$seat"; and test -n "$clip"
wl-paste 2>/dev/null --seat "$seat" -p -l
else if test -n "$seat"
Expand Down
2 changes: 1 addition & 1 deletion completions/zsh/_wl-copy
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ __all_seats() {
fi

if [[ -z $seats ]]; then
# seat0 is always a vaild seat and covers most cases, so its a good fallback.
# seat0 is always a valid seat and covers most cases, so it's a good fallback.
compadd "$@" - seat0
else
compadd "$@" -a seats
Expand Down
2 changes: 1 addition & 1 deletion data/wl-clipboard.1
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ future extensions). However, the currently existing Wayland clipboard protocols
don't let wl-clipboard identify the cases where \fBclear\fR and \fBsensitive\fR
values should be set. For this reason, currently, wl-clipboard never actually
sets \fBCLIPBOARD_STATE\fR to \fBclear\fR, and only sets it to \fBsensitive\fR
when it enounters \fBx-kde-passwordManagerHint\fR among the MIME types.
when it encounters \fBx-kde-passwordManagerHint\fR among the MIME types.
.IP
The \fBCLIPBOARD_STATE\fR protocol was intentionally designed to not be specific
to either wl-clipboard or Wayland; in fact, other clipboard tools are encouraged
Expand Down
2 changes: 1 addition & 1 deletion src/types/popup-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void popup_surface_init(struct popup_surface *self) {

if (self->wl_surface == NULL) {
/* It's possible that we were given focus
* (without ever commiting a buffer) during
* (without ever committing a buffer) during
* the above roundtrip, in which case we have
* already fired the callback and have likely
* already destroyed the surface. No need to
Expand Down
2 changes: 1 addition & 1 deletion src/util/files.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ char *infer_mime_type_from_name(const char *file_path) {
char *dump_stdin_into_a_temp_file() {
/* Pick a name for the file we'll be
* creating inside that directory. We
* try to preserve the origial name for
* try to preserve the original name for
* the mime type inference to work.
*/
char *original_path = path_for_fd(STDIN_FILENO);
Expand Down