You are not logged in.

#1 2005-03-14 19:52:15

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Offline

#2 2005-03-14 20:35:11

medicated
Member
From: Storm Lake, IA
Registered: 2005-03-11
Posts: 79

Re: tinywm

EEEerrrmm..hmm.  Yah, thats..umm..what to say..hmmm.

Offline

#3 2005-03-14 22:14:44

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: tinywm

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

#4 2005-03-14 22:34:24

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: tinywm

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

#5 2005-03-15 18:44:05

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: tinywm

with a little modification it's allmost usable. I would add an XRaiseWindow at the end of the Button event.

Offline

#6 2005-03-15 18:48:45

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: tinywm

he's now converting that one to python... which is almost as funny

Offline

#7 2005-03-16 18:53:32

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: tinywm

as soon as there is a brainfuck version I will dump ion.

Offline

#8 2005-03-16 19:12:44

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

#9 2005-03-16 19:14:42

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: tinywm

is there even an xlib interface for things like that?

Offline

#10 2005-03-16 19:39:04

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: tinywm

phrakture wrote:

is there even an xlib interface for things like that?

If there isn't, you gotta write it yourself too!!

Offline

#11 2005-03-16 19:55:11

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: tinywm

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

Board footer

Powered by FluxBB