Skip to content
Snippets Groups Projects
Commit cc8e7feb authored by James Vasile's avatar James Vasile
Browse files

Remove chance of lowering a none

parent 235907da
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,8 @@ class SwayWin(Window): ...@@ -165,7 +165,8 @@ class SwayWin(Window):
# For wayland windows, the app id is the class, but for # For wayland windows, the app id is the class, but for
# xwayland windows, the app_id is None and there is a class # xwayland windows, the app_id is None and there is a class
# set. # set.
self.wm_class = swaywin.app_id or swaywin.window_class.lower() self.wm_class = swaywin.app_id or swaywin.window_class or ""
self.wm_class = self.wm_class.lower()
def get_desktop(self)->Optional[str]: def get_desktop(self)->Optional[str]:
"In sway, desktops get names, not numbers" "In sway, desktops get names, not numbers"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment