[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#928396: xfwm4: 'wmctrl -r ":ACTIVE:" -b add,hidden' does not minimize the active window



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Fri, 2019-05-03 at 18:06 +0200, pnd23@telenet.be wrote:
> After creating some panel launcher buttons to maximize (toggle), minimize
> and
> close the active window (reason: handle maximized windows when the titlebar
> is
> not shown), maximizing and closing windows succeed using the launcher
> buttons,
> while hiding windows does not. This was tested on xfwm4_4.12.15-1 and
> xfwm4_4.13.1-3.
> 
> Commands used by the launchers:
> 
>  - close window:
>       wmctrl -c ":ACTIVE:"
> 
>  - toggle maximize window:
>       wmctrl -r ":ACTIVE:" -b toggle,maximized_vert,maximized_horz
> 
>  - hide window:
>       wmctrl -r ":ACTIVE:" -b add,hidden
> 
> Patching the "clientUpdateNetState" function in "netwm.c" to handle
> "NET_WM_STATE_HIDDEN" state changes resolves the issue (tested on
> xfwm_4.12.5-1; the reported version 4.12.5-1.1 is the patched version).
> 
> A proposed patch is included.

Hi, thanks for the report.

Can you directly report that upstream at https://bugzilla.xfce.org? I'm
reluctant to tune the behavior in Debian and I know Olivier Fourdan is quite
knowledgeable about windo manager standards.

Regards,
- -- 
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAlzMdkkACgkQ3rYcyPpX
RFs64gf+L0+VTdc8vhlT9CcnBzkveLP4LBAk7ocWvFv3y13e7mYrOzgh1RKPtGub
r/dD6u4/5VwZxqopP8LdFWKv7/I4WO5H4y95GVqol435go8gwsxsDab7jXHq6ZDE
ICvSF5VEMl6zomQepi6vWOp4hlVJIxDkD5/WGQj1oJ7pMjlYeyPsEefhN7Ikm++d
37TL9RSh6TPKbLJ2mPgOhs0I7g/MaGpRrDxv8e5ynwmnw1wPkKEvRx6j8AgFUA2u
PsiUPupCZsZc+M8j66eYGKAqMs3ppRSLVKP7drEy1MQHH1+E+HUI860MYmwicgQW
hCPfwYnrwYoaENyXmxKp5TVfcs4vww==
=Tqwp
-----END PGP SIGNATURE-----


Reply to: