fancywm icon indicating copy to clipboard operation
fancywm copied to clipboard

Workspase isn't refreshing after With-Increase/Decrase using direct shortcuts

Open aspidxt opened this issue 2 years ago • 3 comments

If you set [experimental DIRECT] shortcut for Increase/Decrase of Weight/Height and use it, windows will change it size only when they receive some extra event (change focus, for ex)

Similar #23

aspidxt avatar Apr 14 '22 06:04 aspidxt

Also it's will be cool to have configurable step size for increase/decrease width/heihgth actions;)

aspidxt avatar Apr 14 '22 06:04 aspidxt

This also happens when using the scripting support (fancywm.exe calls). Reproduced using FancyWM v2.6.70.

OS Info:

OS Name	Microsoft Windows 10 Pro
Version	10.0.19044 Build 19044

ishchow avatar May 30 '22 18:05 ishchow

Here's a workaround as an AHK script until bug is fixed:

; Invokes key press after activation shortcut
InvokeFancyWmAction(key)
{
	Send, {LWin down}{Shift down}
	Sleep, 100
	Send, {LWin up}{Shift up}
	Send, {%key%}
	Return
}

; Change the width/height of the focused window. Ctrl + Vim keys
; Decrease width
^h::InvokeFancyWmAction("[")

; Decrease height
^j::InvokeFancyWmAction(";")

; Increase height
^k::InvokeFancyWmAction("'")

; Increase width
^l::InvokeFancyWmAction("]")

ishchow avatar Jul 23 '22 18:07 ishchow

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] avatar Apr 09 '24 02:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Apr 23 '24 02:04 github-actions[bot]