Index: uspace/lib/ui/src/fixed.c
===================================================================
--- uspace/lib/ui/src/fixed.c	(revision 7481ee1997171debec3493e90a7b4874f53f7e44)
+++ uspace/lib/ui/src/fixed.c	(revision a1e6175bea18a42adfa8607d0394ccb9e64d0ed3)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2021 Jiri Svoboda
+ * Copyright (c) 2023 Jiri Svoboda
  * All rights reserved.
  *
@@ -48,5 +48,5 @@
 static ui_evclaim_t ui_fixed_ctl_kbd_event(void *, kbd_event_t *);
 static ui_evclaim_t ui_fixed_ctl_pos_event(void *, pos_event_t *);
-static void ui_fixed_ctl_unfocus(void *);
+static void ui_fixed_ctl_unfocus(void *, unsigned);
 
 /** Push button control ops */
@@ -262,12 +262,13 @@
  *
  * @param fixed Fixed layout
- */
-void ui_fixed_unfocus(ui_fixed_t *fixed)
-{
-	ui_fixed_elem_t *elem;
-
-	elem = ui_fixed_first(fixed);
-	while (elem != NULL) {
-		ui_control_unfocus(elem->control);
+ * @param nfocus Number of remaining foci
+ */
+void ui_fixed_unfocus(ui_fixed_t *fixed, unsigned nfocus)
+{
+	ui_fixed_elem_t *elem;
+
+	elem = ui_fixed_first(fixed);
+	while (elem != NULL) {
+		ui_control_unfocus(elem->control, nfocus);
 
 		elem = ui_fixed_next(elem);
@@ -327,10 +328,11 @@
  *
  * @param arg Argument (ui_fixed_t *)
- */
-void ui_fixed_ctl_unfocus(void *arg)
-{
-	ui_fixed_t *fixed = (ui_fixed_t *) arg;
-
-	ui_fixed_unfocus(fixed);
+ * @param nfocus Number of remaining foci
+ */
+void ui_fixed_ctl_unfocus(void *arg, unsigned nfocus)
+{
+	ui_fixed_t *fixed = (ui_fixed_t *) arg;
+
+	ui_fixed_unfocus(fixed, nfocus);
 }
 
