steamcompmgr: fix appID getting stomped if reaper but no prop

This commit is contained in:
Pierre-Loup A. Griffais 2021-05-13 20:24:25 -07:00
parent 5c0e1ff4c7
commit a9216b398b

View file

@ -1817,8 +1817,12 @@ map_win (Display *dpy, Window id, unsigned long sequence)
{
fprintf( stderr, "appid clash was %u now %u\n", w->appID, appID );
}
// Let the appID property be authoritative for now
if ( appID != 0 )
{
w->appID = appID;
}
}
else
{
w->appID = w->id;