From 0c12f79502714822ad3b087374b73231967d15fd Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Sat, 3 Jul 2021 06:22:40 +0900 Subject: [PATCH] mwm: Make sure clients managed by mwm are in NormalState Sharing of individual windows in Google Meets is not working because the client state is not set, causing the windows not to be recognized as sharable. This commit makes sure the client state is set to NormalState when a client is attached to (i.e. managed by) mwm. --- mwm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mwm.c b/mwm.c index d839071..7f0d4de 100644 --- a/mwm.c +++ b/mwm.c @@ -1335,6 +1335,8 @@ int mwm_attach_client(struct mwm *mwm, struct client *client) EnterWindowMask | FocusChangeMask | PropertyChangeMask | StructureNotifyMask); + client_set_state(client, NormalState); + return(workspace_attach_client(workspace, client)); } -- 2.47.3