Index: uspace/lib/wndmgt/include/types/wndmgt.h
===================================================================
--- uspace/lib/wndmgt/include/types/wndmgt.h	(revision cdd6fc9894183ed3248841bb636fcc9455ea0900)
+++ uspace/lib/wndmgt/include/types/wndmgt.h	(revision 17c0f5d3dbc71d4acf0607c23f54e6519bcea40f)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2022 Jiri Svoboda
+ * Copyright (c) 2023 Jiri Svoboda
  * All rights reserved.
  *
@@ -89,4 +89,6 @@
 	/** Window flags */
 	unsigned flags;
+	/** Number of foci on this window */
+	unsigned nfocus;
 } wndmgt_window_info_t;
 
Index: uspace/lib/wndmgt/src/wndmgt.c
===================================================================
--- uspace/lib/wndmgt/src/wndmgt.c	(revision cdd6fc9894183ed3248841bb636fcc9455ea0900)
+++ uspace/lib/wndmgt/src/wndmgt.c	(revision 17c0f5d3dbc71d4acf0607c23f54e6519bcea40f)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2022 Jiri Svoboda
+ * Copyright (c) 2023 Jiri Svoboda
  * All rights reserved.
  *
@@ -271,4 +271,5 @@
 	info->caption = caption;
 	info->flags = ipc_get_arg1(&answer);
+	info->nfocus = ipc_get_arg2(&answer);
 	*rinfo = info;
 	return EOK;
Index: uspace/lib/wndmgt/src/wndmgt_srv.c
===================================================================
--- uspace/lib/wndmgt/src/wndmgt_srv.c	(revision cdd6fc9894183ed3248841bb636fcc9455ea0900)
+++ uspace/lib/wndmgt/src/wndmgt_srv.c	(revision 17c0f5d3dbc71d4acf0607c23f54e6519bcea40f)
@@ -200,5 +200,5 @@
 	}
 
-	async_answer_1(icall, EOK, info->flags);
+	async_answer_2(icall, EOK, info->flags, info->nfocus);
 	wndmgt_free_window_info(info);
 }
Index: uspace/lib/wndmgt/test/wndmgt.c
===================================================================
--- uspace/lib/wndmgt/test/wndmgt.c	(revision cdd6fc9894183ed3248841bb636fcc9455ea0900)
+++ uspace/lib/wndmgt/test/wndmgt.c	(revision 17c0f5d3dbc71d4acf0607c23f54e6519bcea40f)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2022 Jiri Svoboda
+ * Copyright (c) 2023 Jiri Svoboda
  * All rights reserved.
  *
@@ -282,4 +282,5 @@
 	resp.get_window_info_rinfo->caption = str_dup("Hello");
 	resp.get_window_info_rinfo->flags = 42;
+	resp.get_window_info_rinfo->nfocus = 123;
 	PCUT_ASSERT_NOT_NULL(resp.get_window_info_rinfo->caption);
 	wnd_id = 1;
@@ -292,4 +293,5 @@
 	PCUT_ASSERT_STR_EQUALS("Hello", info->caption);
 	PCUT_ASSERT_INT_EQUALS(42, info->flags);
+	PCUT_ASSERT_INT_EQUALS(123, info->nfocus);
 
 	wndmgt_free_window_info(info);
