Adds modal hint for broadway window;

returning focus to transient for window on destroyng window with focus;
raising modal window and moving focus into it

Solves problem with focus loss in complex multi window UI.
This commit is contained in:
Maxim Zakharov
2021-09-23 16:31:25 +10:00
parent 8d04980f38
commit 6af85a62bb
9 changed files with 102 additions and 1 deletions

View File

@ -95,5 +95,8 @@ cairo_surface_t * broadway_server_open_surface (BroadwayServer *server,
char *name,
int width,
int height);
void broadway_server_window_set_modal_hint (BroadwayServer *server,
gint id,
gboolean modal_hint);
#endif /* __BROADWAY_SERVER__ */