Explaining dwm source code. It's not complicated!

preview_player
Показать описание
Explaining some of the dwm source code, requests for covering certain patches, etc.

Ask me anything; I'm an author of another window manager using xlib, and have read through dwm's source code many times.

Resources:

Рекомендации по теме
Комментарии
Автор

"This is for OpenBSD, no one cares."

I never thought words could hurt so much.

pixelneckgeek
Автор

This is really well done, thank you!
As a noob I wasn't expecting to comprehend much, but you were able to translate your understanding in terms that anyone could digest. Not many people can do that, especially on YouTube.
Really appreciate you taking the time to do this & I hope you keep making videos!

cdajfk
Автор

I've spent a good amount of time looking at suckless code to try to learn C. A lot of what's in the code is what I previously learned to be antipatterns- stuff like prolific use of globals, almost all variables/methods are static, lots of typedefs, etc. I'm guessing that most of these are deemed fine because the codebase is so small- my understanding is those things can get out of control when codebases get very large. I love how the code is so clean and readable, but I also wish I knew where there was some discussion on design choices and architecture of it that I could learn from.

joneskin
Автор

5:37 line 247 is that a function pointer that takes an array of other function pointers and maps them to the event types? I'm trying to understand how that works.

Edit 1: line number typo

SuperKhezar
Автор

Great video and information, thank you much good sir!!

motif
Автор

I like your color scheme. Do you have a repo with your dotfiles? also, whats that firefox theme?

alexferreira
Автор

Is it easier to manually change DWM or BSPWM? Shall I make DWM read a named pipe, or shall I try to modify manually BSPWM?

theodorealenas
Автор

Why would the function's return type be on the line above and not inline with the function? wtf that looks so bad lmao

sphtng
Автор

This is beautiful.
Btw: Why do people not like X anymore, I find the architecture quite convincing.

armynyus
Автор

good video
but please don't go around rooms and spam your stuff without context

AtomToast
Автор

"this is for opembsd, nobody cares" 😂

happygofishing
visit shbcf.ru