diff options
| -rw-r--r-- | selection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/selection.c b/selection.c index 66d848c6..8ed0b6da 100644 --- a/selection.c +++ b/selection.c @@ -557,6 +557,7 @@ text_to_clipboard(struct terminal *term, char *text, uint32_t serial) wl_data_device_set_selection(term->wl->data_device, clipboard->data_source, serial); /* Needed when sending the selection to other client */ + assert(serial != 0); clipboard->serial = serial; return true; } |
