Skip to content

Add support for XIconifyWindow and unminimizing from taskbars#1035

Open
nwwdles wants to merge 1 commit intobaskerville:masterfrom
nwwdles:master
Open

Add support for XIconifyWindow and unminimizing from taskbars#1035
nwwdles wants to merge 1 commit intobaskerville:masterfrom
nwwdles:master

Conversation

@nwwdles
Copy link

@nwwdles nwwdles commented Dec 10, 2019

Hello! Currently, minimized windows on bspwm don't really work great with bars that provide task managers (task lists) like tint2, KDE/Xfce panel widgets etc.

Tasklists usually allow you to click on a task to minimize or focus & unminimize a window. On bspwm it works differently: window is focused only if it's not hidden and you get switched to the window's desktop (even if it's hidden).

The patch adds the conventional behavior described above. As a side effect, it also makes focused windows automatically unhide (so now they can also be unhidden with rofi etc.) but other than that it shouldn't introduce any changes for people who don't use task managers.

Edit: I doubt it's going to get merged, e.g. i3 actually reverted the commit that added handling of WM_CHANGE_STATE. (or maybe my patch is just bad idk, i'm not experiencing any issues.) If you want this, you can just apply the patch manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant