Zooming client and killing clients are making more sense.
After you zoom a client, the position of hintbox will be updated.
And the hintbox on other clients are hided.
After kill a client, the position of other hintbox are updated
according to the rearrangement of the rest of clients.
When there are more clients than entries in `charorder`, the following
error occurs:
W: awesome: luaA_dofunction:77: error while running function
stack traceback:
/home/user/.config/awesome/revelation/init.lua:166: in function </home/user/.config/awesome/revelation/init.lua:124>
(...tail calls...)
/usr/local/share/awesome/lib/awful/key.lua:43: in function </usr/local/share/awesome/lib/awful/key.lua:43>
error: /home/user/.config/awesome/revelation/init.lua:166: attempt to index field '?' (a nil value)
This fixes it by skipping setup of `hintindex` in this case.
Fixes https://github.com/guotsuan/awesome-revelation/issues/4.
Thanks to Falco I noticed that its cumbersome to have some floating
clients during the expose view of all clients. What do you do if the
client you want is below a floating client?
Well now we make everybody tile during expose, then restore their states
when leaving the Revelation tag.
Signed-off-by: Perry Hargrave <resixian@gmail.com>
under the pointer.
This is very useful for window management. When you have many
windows open and you want to close some, you can just open
revelation and close the windows with middle mouse.
I have maintained your coding style, but I recommend not testing
boolean variables against true/false. So instead of
if mouse.buttons[1] == true then ...
you would have
if mouse.buttons[1] then
and instead of
if mouse.buttons[1] == false then -- doesn't actually appear in
code
you would have
if not mouse.buttons[1] then ...
That's just a minor niggle though.