diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index 20c3bd2..91e5949 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -1577,7 +1577,7 @@ found: /* Some games (e.g. DOOM Eternal) don't react well to being put back as * iconic, so never do that. Only take them out of iconic. */ uint32_t wmState[] = { ICCCM_NORMAL_STATE, None }; - XChangeProperty(dpy, w->id, WMStateAtom, WMStateAtom, 32, + XChangeProperty(dpy, focus->id, WMStateAtom, WMStateAtom, 32, PropModeReplace, (unsigned char *)wmState, sizeof(wmState) / sizeof(wmState[0]));