The mupdf-x11 has WM_CLASS(STRING) = "mupdf", "MuPDF", but mupdf-gl has no. I need wm_class to use mupdf-gl correctly in FVWM. How can I solve this problem? Maybe by some small changing the source code before compilation? The solution suggested here is not working.
My friend programmer helped me and we found a solution by changing the source code of mupdf before compilation. In the file
thirdparty/freeglut/src/x11/fg_menu_x11.ctwo changes madeXClassHint *classhint;. This block now readAfter compilation, the window of mupdf-gl is identified as WM_CLASS(STRING) = "mupdf-gl", "MuPDF-gl".