]> git.corax.cc Git - mwm/commitdiff
mwm: Make sure clients managed by mwm are in NormalState next
authorMatthias Kruk <m@m10k.eu>
Fri, 2 Jul 2021 21:22:40 +0000 (06:22 +0900)
committerMatthias Kruk <m@m10k.eu>
Fri, 2 Jul 2021 21:22:40 +0000 (06:22 +0900)
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

diff --git a/mwm.c b/mwm.c
index d839071653502882350711336930b47407561be5..7f0d4de591f87aa368ea6459f0efaeed40e21713 100644 (file)
--- 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));
 }