summaryrefslogtreecommitdiff
path: root/tests/x11
diff options
context:
space:
mode:
Diffstat (limited to 'tests/x11')
-rw-r--r--tests/x11/test_input.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/x11/test_input.c b/tests/x11/test_input.c
index f82dc82..aa534ca 100644
--- a/tests/x11/test_input.c
+++ b/tests/x11/test_input.c
@@ -389,7 +389,12 @@ int main(void)
assert(yasl_private_surface_ime_preedit(surface) == NULL);
int begin = -1, end = -1;
assert(!yasl_private_surface_ime_preedit_cursor(surface, &begin, &end));
- assert(yasl_private_surface_show_window_menu(surface, (struct yasl_private_vector2i){50, 50}));
+ /* The window menu, move and resize need a button held; nothing presses one here. */
+ errno = 0;
+ assert(!yasl_private_surface_show_window_menu(surface, (struct yasl_private_vector2i){50, 50}) &&
+ errno == ESTALE);
+ errno = 0;
+ assert(!yasl_private_surface_start_interactive_move(surface) && errno == ESTALE);
yasl_private_surface_destroy(surface);
yasl_private_display_close(base);