Use the new glfw API for setting WM_CLASS

This commit is contained in:
Kovid Goyal
2017-12-20 09:18:29 +05:30
parent 2f4f3e3331
commit e69de2f968
4 changed files with 16 additions and 17 deletions
-6
View File
@@ -264,9 +264,3 @@ def single_instance(group_id=None):
s.set_inheritable(False)
atexit.register(remove_socket_file, s)
return True
def encode_wm_class(name, cls, title=appname):
if is_macos:
return title
return '\x01' + (name or cls) + '\x1e' + cls + '\x1e' + title