You are not logged in.
Pages: 1
ahahahah, look at this...
http://incise.org:82/archzoom.cgi/mack@ … 5/tinywm.c
Offline
EEEerrrmm..hmm. Yah, thats..umm..what to say..hmmm.
Offline
It compiles, it works, it looks a lot like my current Fluxbox. Only missing a few things, mainly a way to put certain windows on top instead of always the same and workspaces. Perhaps I'll expand it to my perfect wm, when I have time and in a weird mood. ;-)
Offline
FYI, not counting comments and whitespace, it's 56 lines of code... with no external libraries beyond XLib....
remove the macro and it's 55 LOC - hilarious!
Offline
with a little modification it's allmost usable. I would add an XRaiseWindow at the end of the Button event.
Offline
Offline
as soon as there is a brainfuck version I will dump ion.
Offline
write it yourself
Offline
Offline
is there even an xlib interface for things like that?
If there isn't, you gotta write it yourself too!!
Offline
I doubt there is even any foreign language interface mechanism.
with some fany redirection stuff you could rely on tcp/ip pipes though.
When I tried to add some stuff to the code, I came up with the problem of bringing windows to front if they are clicked with the left mouse button. I tried to use a global grab and then resend the events, but either I have done something wrong or there is another way to achive this behaviour.
Offline
Pages: 1