Index: uspace/lib/ui/test/window.c
===================================================================
--- uspace/lib/ui/test/window.c	(revision 7a5702fa088379ccef3bb13911f88af2c4430555)
+++ uspace/lib/ui/test/window.c	(revision 2fe799a4511255b91f241f3338edf573754ac449)
@@ -745,5 +745,5 @@
 	PCUT_ASSERT_NOT_NULL(window);
 
-	kbd_event.type = POS_PRESS;
+	kbd_event.type = KEY_PRESS;
 	kbd_event.key = KC_X;
 	kbd_event.mods = 0;
