Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

[wip] xcb rewrite of sowm #94

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

[wip] xcb rewrite of sowm #94

wants to merge 22 commits into from

Conversation

dylanaraps
Copy link
Owner

TODO

  • everything

This was my first real C project and it shows. Learning C is quite
fun and I still have a long way to go. This next rewrite should be
less of a hot-mess than the original Xlib version.

Notable mistakes:

- while (1 && ...)
- for win (spastic pre-processor stuff)
- no proper tracking of client sizes/positions.
- lazy window focus model.
- almost code-golfed code-base.
- circular-doubly-linked-list for clients.

The following changes mark the initial commit for the rewrite.
The window manager works but does not yet do enough for it to be
usable. Clients, keybindings, a configuration file, etc, etc do
not yet exist. Baby steps.
@kiedtl
Copy link
Contributor

kiedtl commented Jul 23, 2020

I'm just curious, what made you decide to do an xcb rewrite?

@dylanaraps
Copy link
Owner Author

I wanted to clean up sowm (I realize now the error of my ways) and decided it'd be a good idea to also learn XCB in the process.

@Unixsys
Copy link

Unixsys commented Jul 27, 2020

Hey, would you consider making an archived version of this repo so people can continue to use the xlib version? Thanks.

@dylanaraps
Copy link
Owner Author

The Xlib version will be forever available via git's tags and the commit history. The xcb version will be far better to work with overall.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants