joewing / jwm

Joe's Window Manager
http://joewing.net/projects/jwm
MIT License
517 stars 85 forks source link

no minimize with left-click if 2 windows share an app #45

Closed scsijon closed 11 years ago

scsijon commented 11 years ago

quoting 'session' from puppylinux thread (p10)

OK, I have a tiny usability bug worth mentioning: If two+ windows share one application entry in the tray (ex. mtpaint w/ settings toolbar), you cannot minimize the windows with a left-click in the tray.

regards

joewing commented 11 years ago

This should be fixed in snapshot 750. Left clicking in the taskbar serves two purposes: raising an application and minimizing it. Unfortunately, JWM used to attempt to raise the application if it wasn't on the top of the window stack (minimizing if it was), but when an application has transient windows, those always go on top of the application so an application with transients could never be minimized by clicking the taskbar. To fix this, I just made JWM only check if the application is focused.

scsijon commented 11 years ago

confirmed fixed, thanks joe