bakkeby / dwm-flexipatch

A dwm build with preprocessor directives to decide which patches to include during build time
MIT License
1.15k stars 235 forks source link

Add PERTAGSEL_PATCH to fix issue #387 #389

Closed ysl2 closed 10 months ago

ysl2 commented 10 months ago

Add PERTAGSEL_PATCH to fix issue #387.

Insight from: https://dwm.suckless.org/patches/pertag/dwm-pertag_with_sel-20231003-9f88553.diff

ysl2 commented 10 months ago

You can test this pull request by following these steps:

  1. Open FAKEFULLSCREEN_PATCH, PERTAG_PATCH, STICKY_PATCH, SHIFTVIEW_CLIENTS_PATCH and the new PERTAGSEL_PATCH.
  2. Open a video from youtube, set it to sticky and float, and fullscreen. Then it will be a small window with video playing.
  3. Test 1: Switch to another tag, open a terminal, and use focusstack to switch clients from sticy to non-sticky.
  4. Test 2: In another tag. focus the sticky window, then use shiftviewclients to swith tags.

You can see the difference between this pull request and orginal code in step 3 and step 4.

ysl2 commented 10 months ago

We shouldn't use sel in pertag, as mentioned in #387