Do not include sticky windows in app switcher
| Author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-04-30 05:20:01 +0200 |
| Committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-04-30 05:20:01 +0200 |
| Commit | 45bdd25e444aa2887da8c24f9bc68d153b83bc77 (patch) |
|
-rw-r--r-- |
switcher.c | 3 |
1 files changed, 1 insertions, 2 deletions
| diff --git a/switcher.c b/switcher.c | |||
| ... | |||
| 152 | } |
152 | } |
| 153 | } |
153 | } |
| 154 | if (prop) XFree(prop); |
154 | if (prop) XFree(prop); |
| 155 | if (is_sticky(w)) on_current_desktop = 1; |
||
| 156 | 155 | ||
| 157 | if (on_current_desktop) { |
156 | if (on_current_desktop && !is_sticky(w)) { |
| 158 | XWindowAttributes wa; |
157 | XWindowAttributes wa; |
| 159 | XGetWindowAttributes(wm.dpy, w, &wa); |
158 | XGetWindowAttributes(wm.dpy, w, &wa); |
| 160 | if (wa.map_state == IsViewable) { |
159 | if (wa.map_state == IsViewable) { |
| ... | |||