Skip to content

Commit

Permalink
Fix unknown wmclass in linux (missing dock icon) (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrom99 authored Jan 25, 2025
1 parent fef4a02 commit 4f03162
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/pmg_qt/pymol_qt_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,9 @@ def execapp():
window = PyMOLQtGUI()
window.setWindowTitle("PyMOL")

# fix gnome/wayland dash icon/missing wmclass
app.setDesktopFileName("org.pymol.PyMOL")

@commandoverloaddecorator
def viewport(w=-1, h=-1, _self=None):
window.viewportsignal.emit(int(w), int(h))
Expand Down

0 comments on commit 4f03162

Please sign in to comment.