You are not logged in.

#1576 2021-05-24 11:45:17

gginer89
Member
Registered: 2021-03-08
Posts: 4

Re: DWM Hackers Unite! Share (or request) dwm patches.

Hello,

I've been patching and customizing DWM to my likings but there's one thing I didn't manage to find. I've seen several persons ask it before but never got a working reply. I am looking for a way to focus the last active window. Not the "view" function which opens last used tag, but a way to switch the focus between the two last active windows, no matter in which tag they are. Those two last windows could be in the same tag, it would then switch focus between the two apps inside the same tag, or in different tags and it would swap between the tags giving focus to each app.

Did you see a patch to achieve something like this?

Thank you in advance

Offline

#1577 2021-11-24 07:51:00

Pole_Prode
Member
Registered: 2021-04-27
Posts: 10

Re: DWM Hackers Unite! Share (or request) dwm patches.

Hi, i'm looking for a patch that will make floating window, when it's switched from tiled to floating, centered and resized to become smaller. Thx for help.

Offline

#1578 2021-11-24 17:20:46

sekret
Member
Registered: 2013-07-22
Posts: 240

Re: DWM Hackers Unite! Share (or request) dwm patches.

Pole_Prode wrote:

Hi, i'm looking for a patch that will make floating window, when it's switched from tiled to floating, centered and resized to become smaller. Thx for help.

That's what you are looking for.
https://dwm.suckless.org/patches/save_floats
It resizes the windows to their original size and places them centered. I use it all the time.

Offline

#1579 2021-11-24 17:22:20

sekret
Member
Registered: 2013-07-22
Posts: 240

Re: DWM Hackers Unite! Share (or request) dwm patches.

gginer89 wrote:

Hello,

I've been patching and customizing DWM to my likings but there's one thing I didn't manage to find. I've seen several persons ask it before but never got a working reply. I am looking for a way to focus the last active window. Not the "view" function which opens last used tag, but a way to switch the focus between the two last active windows, no matter in which tag they are. Those two last windows could be in the same tag, it would then switch focus between the two apps inside the same tag, or in different tags and it would swap between the tags giving focus to each app.

Did you see a patch to achieve something like this?

Thank you in advance

I'm very sure I've had such a patch applied a few years ago but cannot remember its name. Have you tried all patches on https://dwm.suckless.org/patches ?

edit: That one? https://dwm.suckless.org/patches/swapfocus

Last edited by sekret (2021-11-24 17:25:21)

Offline

Board footer

Powered by FluxBB