lukasmonk / lucaschessR2

Lucas Chess R Version 2
GNU General Public License v3.0
255 stars 36 forks source link

Request to set the WM_CLASS property #116

Closed gijsbers closed 8 months ago

gijsbers commented 8 months ago

Under X11 all windows of Lucas R 2.10a have this same WM_CLASS property value according to xprop:

WM_CLASS(STRING) = "Gui.pyc", "Gui.pyc"

This makes it impossible to differentiate Lucas windows from other applications which use this same value. Would it be possible to change it to something Lucas specific? Also the temporary popups which show briefly when analysis goes to the next move. That way I can keep everything Lucas on a single dedicated workspace and not be disturbed when I work on some other workspace. If you want to be really fancy you could also set the WM_WINDOW_ROLE property to the function a particular window has.

lukasmonk commented 8 months ago

Replaced with LucasChessGui.pyc, to the next update.

If you want to be really fancy you could also set the WM_WINDOW_ROLE property to the function a particular window has. I have no idea how to do it.

gijsbers commented 8 months ago

Thanks!

gijsbers commented 8 months ago

Actually, could the .pyc extension be dropped? The WM_CLASS consists of two components: the name and the class. These often are connected with a dot, like in xterm.XTerm. Then the extra dots are confusing. lucas for the name and LucasChess for the class would work well.

lukasmonk commented 8 months ago

Sorry, I don't know anything about this and its control.