8000 Fix windows and reenable CI by jokesper · Pull Request #947 · kmonad/kmonad · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix windows and reenable CI #947

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

Merged
merged 4 commits into from
Jan 2, 2025
Merged

Fix windows and reenable CI #947

merged 4 commits into from
Jan 2, 2025

Conversation

jokesper
Copy link
Collaborator
@jokesper jokesper commented Jan 2, 2025

While merging #894 it seems the windows code was broken.
To detect this in the future we reenable the windows CI (cherry-picked from #896)
and fixed some warnings (also cherry picked + part of other commit).

While we're touching the CI, we also made the lists more uniform for cleaner diffs in the future

Fixes #946.

The return in `keyHandler` would have been, as far as I could tell,
compiled to a zero.
I think changing it to non zero to block other event lowlevel handlers
is the right decision and may fix some bugs, ~~though I am not on Windows
and am unable to test any of this.~~

After having someone else test it, I can confirm KMonad works just as
it did before.

Since we ignore the return value from `grab_kb` and don't return
anything, we just change it to `void`.
When we change which stack resolvers we use commonly we would add a new
ones and remove old ones.

This means we delete from the top and add to the bottom.

Deleting from the top is a clean diff with trailing comma,
while adding to the bottom is a clean diff with leading comma.

With our current leading comma approach we would have to always change
two lines at the beginning.
@slotThe slotThe merged commit e3a4775 into kmonad:master Jan 2, 2025
13 checks passed
@slotThe
Copy link
Member
slotThe commented Jan 2, 2025

Thanks!

@jokesper jokesper 66EF deleted the fix-windows branch January 2, 2025 23:08
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.

Windows Stack compilation fails. Variable not in scope
2 participants
0