
14 Mar
2023
14 Mar
'23
10:17 p.m.
On Tue, Mar 14 2023 18:07, Brandon Allbery wrote:
On Tue, Mar 14, 2023 at 6:04 PM Alexander Iliev
wrote: My question is - can I resize the scratchpad window I'm pulling into the current workspace with respect to the size of the screen that this workspace is displayed on?
Currently there is no control over this. It's not impossible, but would require a `handleEventHook` to catch the `MapNotifyEvent` for the `NamedScratchpad` window and resize it.
Alternatively, it should also be possible to check the currently focused window in a logHook and do this based on that. See `X.U.NamedScratchpad.nsHideOnFocusLoss` for inspiration. -- Tony Zorman | https://tony-zorman.com/