-
-
Notifications
You must be signed in to change notification settings - Fork 723
feat(xworkspaces): List occupied workspaces #1429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This covers more of an edge-case. I did this first by accident, it might vanish later on.
Because the index needs to be matched later on, type mismatches would be non-ideal.
This alone simplifies the management and the lookup for occupation of a workspace
Therefore we update the desktop-count tally every time the client_list changes. It may just be a desktop-change without a change of clients.size()...
…nto list-occupied-workspaces
Also, performance improvements when diffing new and old client lists
Codecov Report
@@ Coverage Diff @@
## master #1429 +/- ##
=========================================
- Coverage 5.83% 5.82% -0.01%
=========================================
Files 161 161
Lines 8935 8950 +15
=========================================
Hits 521 521
- Misses 8414 8429 +15
Continue to review full report at Codecov.
|
|
may I cherry-pick your change into my PR, @swillner? Then the whole history is in one place. attribution should stay the same... |
|
of course! just give me a ping and I'll close this PR. |
There is no ping-emoji, but I can give you 🏓. Completely unrelated, I cherry-picked your fix and added it to the other PR. :-) |
|
thanks! |
Fixes issues in #882