Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes:
1- Updated the code to reflect the changes made from version 6.3 to 6.5, which is the latest version available at https://git.suckless.org/dwm/. However, I skipped about two commits or so as they did not add anything and did not reduce complexity.
2- Simplification of the Makefile by replacing cp commands with install, streamlining file copying and permission setting and added conditional installation logic to ensure
dwm.desktop
is only installed if it doesn't already exist in/usr/share/xsessions/
.3- Uncommented the OPTIMISATIONS flag in config.mk and added
-mtune=native
to it, so the code is optimised for the machine's specific CPU architecture.4- Eliminated the reference to transient.c and purged dwm.c.rej and dwm.c.orig files, streamlining the codebase.
By the way, apologies for my last commit regarding posix_spawnp(). It was, in fact, tested for months, but I completely forgot to include extern char **environ; in the code. My oversight, I'm afraid. However, I've ensured that this pull request will function as intended.