HarveyHunt / howm

A lightweight, X11 tiling window manager that behaves like vim
GNU General Public License v2.0
651 stars 24 forks source link

Workspaces should keep track of the number of clients #20

Closed HarveyHunt closed 10 years ago

HarveyHunt commented 10 years ago

I think it is important for there to be an unsigned int within the workspace struct to keep track of the number of clients.

It would make op_cut and paste far easier, as well as reducing the amount of for loops (and therefore complexity and execution time) within the code.

HarveyHunt commented 10 years ago

I have more thoughts about this, op_cut will also need to subtract from the number of clients on a workspace. Paste will need to add to the number of clients.

HarveyHunt commented 10 years ago

This is now fully implemented.