mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
app/tests: send keyboard keys to the shell, not the window
This commit is contained in:
parent
45e9b140f1
commit
7720cd6324
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ keyboard_zoom_focus (gconstpointer data)
|
|||
factor_before_zoom = gimp_zoom_model_get_factor (shell->zoom);
|
||||
|
||||
/* Do the zoom */
|
||||
gimp_test_utils_synthesize_key_event (GTK_WIDGET (window), GDK_KEY_plus);
|
||||
gimp_test_utils_synthesize_key_event (GTK_WIDGET (shell), GDK_KEY_plus);
|
||||
gimp_test_run_mainloop_until_idle ();
|
||||
|
||||
/* Make sure the zoom focus point remained fixed */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue