Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
icon-tasklist: Fix some pinned launchers not properly updating when o…
…pened (#587) In some cases, opening an application, closing it, and re-opening it again from a pinned launcher would fail to update the launcher button; it would just be stuck doing the waiting animation, despite the application and a window appearing. This is because on X11, you pretty much have to just guess at what the desktop ID is for an application. We do this using the application's name, which may not be in the correct letter casing. This leads to the tasklist searching for, e.g., Nemo.desktop when you really want nemo.desktop. To get around this, first check using the same ID we did before. If that doesn't work, try again with converting the guessed ID to lowercase. Signed-off-by: Evan Maddock <[email protected]>
- Loading branch information