ibabushkin / gabelstaplerwm

A window manager in Rust, using XCB
BSD 3-Clause "New" or "Revised" License
91 stars 8 forks source link

Buggy client adding #3

Closed ibabushkin closed 8 years ago

ibabushkin commented 8 years ago

We add clients as slaves per default and focus them, which is fine. However, if the layout is Monocle, this leads to problems (windows open hidden and focus disappears).

The best way to address this is probably to add client addition rules to layouts (?)

ibabushkin commented 8 years ago

Update:

Right now, a pretty big change to the handling of client ordering is underway. This is implemented by adding a HashMap<Vec<Tag>, Vec<Weak<RefCell<Client>>>> to the WindowManager structure. This is the first step to fix the general problem and will allow for a few things:

Right now, due to these changes, focus is broken, but will be fixed as soon as possible.

ibabushkin commented 8 years ago

This transition is now done, and the code cleaned. The problem no longer remains.