Fix union typo
The "set clipboard" event used the wrong union type to store its text. In practice, it worked because both are at the same offset.
This commit is contained in:
@@ -200,7 +200,7 @@ static void test_serialize_get_clipboard(void) {
|
||||
static void test_serialize_set_clipboard(void) {
|
||||
struct control_msg msg = {
|
||||
.type = CONTROL_MSG_TYPE_SET_CLIPBOARD,
|
||||
.inject_text = {
|
||||
.set_clipboard = {
|
||||
.text = "hello, world!",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user