From a9216b398b39f4e2b045f33ffb52e0b9e5eec762 Mon Sep 17 00:00:00 2001 From: "Pierre-Loup A. Griffais" Date: Thu, 13 May 2021 20:24:25 -0700 Subject: [PATCH] steamcompmgr: fix appID getting stomped if reaper but no prop --- src/steamcompmgr.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index 3b5d5e0..a4096ff 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -1817,7 +1817,11 @@ map_win (Display *dpy, Window id, unsigned long sequence) { fprintf( stderr, "appid clash was %u now %u\n", w->appID, appID ); } - w->appID = appID; + // Let the appID property be authoritative for now + if ( appID != 0 ) + { + w->appID = appID; + } } else {