BurntSushi / wingo

A fully-featured window manager written in Go.
Do What The F*ck You Want To Public License
1k stars 87 forks source link

[feature] simulate multiple head in one 4K large screen #93

Open dlintw opened 11 years ago

dlintw commented 11 years ago

The idea is let user separate the large screen into different layout.

For example, 12 34

area 1 can be tile area 2 can be browser ... This is useful when multiple xinput also supported in wingo. So, Two person could work on a same screen.

BurntSushi commented 11 years ago

I think this could theoretically be hacked in by literally spoofing the Xinerama data. I suppose that is at least one area where I used a decent abstraction.

It might be as simple as coming up with a way to specify it in one of the config files (maybe options.wini?) and forcing it in place of loading screen geometry from Xinerama.

dlintw commented 11 years ago

Just found libxcb already have xinput support. --enable-xinput Build XCB XInput Extension (default: "no") So, if it possible just a small hack assign 2nd set of keyboard+mouse to specific window ? I think it is useful for pair programming.

BurntSushi commented 11 years ago

Wingo doesn't use XCB. It uses xgb, which is a pure Go implementation of the X protocol and many of its extensions. I wasn't kidding when I said Wingo was completely written in Go. Xinput is one that I have never tested. And I wouldn't even know where to begin.

I've pair programmed before and never needed to operate two mice at the same time. :P