From: Matthias Kruk Date: Fri, 2 Jul 2021 21:22:40 +0000 (+0900) Subject: mwm: Make sure clients managed by mwm are in NormalState X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=refs%2Fheads%2Fnext;p=mwm 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. --- 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)); }