-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
NO WINDOW LEFT BEHIND #1273
NO WINDOW LEFT BEHIND #1273
Conversation
cafa424
to
13ba96f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #1273 +/- ##
==========================================
+ Coverage 51.55% 51.68% +0.12%
==========================================
Files 62 64 +2
Lines 13347 13567 +220
==========================================
+ Hits 6881 7012 +131
- Misses 6466 6555 +89
|
fb1bef7
to
e870fda
Compare
Update: kind of redesigned how windows are imported into the tree. The inherent racy-ness of X11 protocol really fucked this over. (don't know if you can tell, but I am not happy with this code). This comment goes into a bit more detail about what's going on. |
6b39b1c
to
afb7b8d
Compare
Signed-off-by: Yuxuan Shui <[email protected]>
5e44044
to
bd9bb8e
Compare
To let it process some events to validate that it is working. The output of wm_tree is not yet used besides debugging logs. Note because we don't quite setup event subscription the way wm_tree expects, there will be some errors logged, which is normal. Signed-off-by: Yuxuan Shui <[email protected]>
Because wm_tree tracks the entire window tree, it's able to replace several old data structures we used to track windows: the window hash table, the window stack, and the subwin table. So we got rid of those, and fully switched to wm_tree. Fixes window rules for window managers that don't put client window directly under toplevel windows. This includes, according to people's reports, at least i3 and KDE. Fixed a couple small bugs: * dbus was returning window ID as a boolean. * window frame extents not cleared after its client window disappears. Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Yuxuan Shui <[email protected]>
Fixed a use after free, when an incomplete import is deleted before we can completely import it. |
Signed-off-by: Yuxuan Shui <[email protected]>
Track the entire window tree. Fix window rules for WMs like i3, KDE.