Can anyone explain the resizeactive dispatcher ? My understanding of it is not lining up with the behavior.
What I imagine is this scenario. There are n>1 windows on the screen arranged in any kind of tiled format. When I issue the dispatch resizeactive exact 80% 80%, then the active window (I use follow_mouse=1 so the window under the mouse) will resize to 80% of screen. This does not work as I imagine. It seems to resize only the same window. I have read in the past that this dispatch is meant to only work with floating windows; is this my issue?
Is there a way to resize the currently active tiled window ?
I am not sure what you mean or do not understand.
Issuing a dispatch on a currently active floating terminal, will -obviously- resize that particular terminal.
So I assume you have something else in mind, not clear to me.
If for example you want to float+resize a particular window you would need to create a keybind with some sort of instructions to meet your preferences.
Again as an example, I use a submap (because I enjoy doing everything with one finger) which is bind to a key and with that I “instruct” float+center+dimensions for any given active window (follow_mouse=1).
Sorry if I can’t help any further, I don’t understand your confusion.
When I dispatch resizewindowpixel, {resizeparams}, activewindow I observe the same behavior as resizeactive, {params}. It just seems like it is not resizing the active window, but resizing the first-created window on that screen. Perhaps the issue is that I misunderstand the definition of active window?
I have tried with layouts dwindle and master. I will follow up with a github discussion. Would a screen recording be helpful for the discussion?
My intention here is to resize the active window to a specific size with a dispatch. In testing, I am initiating the dispatch with a key-press. In the end, however, this dispatch will be in a script monitoring the socket.
The mouse resize works fine, and I am working toward another use-case.