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

Fix _NET_CURRENT_DESKTOP ClientMessage handling #3237

Merged
merged 1 commit into from
Apr 25, 2021

Conversation

psychon
Copy link
Member

@psychon psychon commented Dec 30, 2020

This was broken in commit c5202a4 by adding an extra string
to the Lua stack. Hence, the offset -1 now referred to the string and
not the tag.

Fixes: #3236
Signed-off-by: Uli Schlachter psychon@znc.in

This was broken in commit c5202a4 by adding an extra string
to the Lua stack. Hence, the offset -1 now referred to the string and
not the tag.

Fixes: awesomeWM#3236
Signed-off-by: Uli Schlachter <psychon@znc.in>
@codecov
Copy link

codecov bot commented Dec 30, 2020

Codecov Report

Merging #3237 (339eff9) into master (1c53c36) will increase coverage by 0.78%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #3237      +/-   ##
==========================================
+ Coverage   88.21%   89.00%   +0.78%     
==========================================
  Files         662      704      +42     
  Lines       44962    51089    +6127     
==========================================
+ Hits        39662    45470    +5808     
- Misses       5300     5619     +319     
Flag Coverage Δ
gcov 76.89% <0.00%> (+1.69%) ⬆️
luacov 91.56% <ø> (+0.49%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ewmh.c 63.61% <0.00%> (ø)
tests/_client.lua 98.75% <0.00%> (-1.25%) ⬇️
lib/wibox/widget/slider.lua 88.23% <0.00%> (-1.16%) ⬇️
lib/wibox/layout/fixed.lua 67.33% <0.00%> (-1.09%) ⬇️
tests/test-titlebar.lua 99.15% <0.00%> (-0.85%) ⬇️
tests/test-selection-getter.lua 99.24% <0.00%> (-0.76%) ⬇️
lib/awful/widget/prompt.lua 87.50% <0.00%> (-0.74%) ⬇️
lib/wibox/layout/manual.lua 93.38% <0.00%> (-0.73%) ⬇️
luaa.h 80.14% <0.00%> (-0.58%) ⬇️
lib/gears/object.lua 87.69% <0.00%> (-0.41%) ⬇️
... and 113 more

@psychon
Copy link
Member Author

psychon commented Jan 16, 2021

I just found some duplicates. This not only fixes #3236, but also #3047 and #3204, I bet.

Copy link
Member

@blueyed blueyed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be great to have this covered with some test(s).
@Elv13
Do you think this can be done easily?

@Aire-One
Copy link
Member

Do we need to close/reopen this to make codecov run again? It seems it just randomly crashed...

@Elv13 Elv13 merged commit d2dc428 into awesomeWM:master Apr 25, 2021
actionless pushed a commit to actionless/awesome that referenced this pull request Apr 26, 2021
This was broken in commit c5202a4 by adding an extra string
to the Lua stack. Hence, the offset -1 now referred to the string and
not the tag.

Fixes: awesomeWM#3236
Signed-off-by: Uli Schlachter <psychon@znc.in>
@psychon psychon deleted the current-desktop-handling branch April 26, 2021 15:10
man9ourah pushed a commit to man9ourah/awesome that referenced this pull request Nov 25, 2021
This was broken in commit c5202a4 by adding an extra string
to the Lua stack. Hence, the offset -1 now referred to the string and
not the tag.

Fixes: awesomeWM#3236
Signed-off-by: Uli Schlachter <psychon@znc.in>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants