Skip to content
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

wm/win: fix handling of windows with multiple window types #1307

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

yshui
Copy link
Owner

@yshui yshui commented Aug 6, 2024

ICCCM states a window can have multiple types, which we didn't handle.

Fixing this also includes a slight change to the dbus interface, I hope that doesn't break too many people.

Also this is pretty unfixable for wintypes, and we are moving to universal rules anyway, so I didn't bother.

ICCCM states a window can have multiple types, which we didn't handle.

Fixing this also includes a slight change to the dbus interface, I hope
that doesn't break too many people.

Also this is pretty unfixable for `wintypes`, and we are moving to
universal rules anyway, so I didn't bother.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Copy link

codecov bot commented Aug 6, 2024

Codecov Report

Attention: Patch coverage is 42.30769% with 30 lines in your changes missing coverage. Please review.

Project coverage is 54.31%. Comparing base (1cfd2a0) to head (dff14c5).

Files Patch % Lines
src/dbus.c 0.00% 14 Missing ⚠️
src/c2.c 14.28% 6 Missing ⚠️
src/wm/win.c 76.00% 6 Missing ⚠️
src/inspect.c 0.00% 4 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             next    #1307      +/-   ##
==========================================
- Coverage   54.33%   54.31%   -0.03%     
==========================================
  Files          70       70              
  Lines       14868    14891      +23     
==========================================
+ Hits         8079     8088       +9     
- Misses       6789     6803      +14     
Files Coverage Δ
src/compiler.h 100.00% <100.00%> (ø)
src/wm/win.h 92.85% <ø> (ø)
src/inspect.c 0.00% <0.00%> (ø)
src/c2.c 57.21% <14.28%> (-0.14%) ⬇️
src/wm/win.c 78.33% <76.00%> (+0.17%) ⬆️
src/dbus.c 22.38% <0.00%> (-0.41%) ⬇️

... and 1 file with indirect coverage changes

@yshui yshui merged commit 890dc78 into next Aug 6, 2024
22 checks passed
@yshui yshui deleted the fix-window-types branch August 6, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant