aboutsummaryrefslogtreecommitdiffhomepage
path: root/st.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-08-08 13:47:03 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-08-08 13:47:03 +0200
commit735332a5048f90869a7f8cf62a19717220f78dea (patch)
tree06cc9b275d0cf2121627320804541adaa9cec175 /st.c
parent9b45bbe7a2061d46fb4a062c2e30ba2fbfae1219 (diff)
downloadst-fork-735332a5048f90869a7f8cf62a19717220f78dea.tar.gz
When embedded, st fails with BadMatch error if the embedder's window hasHEADpatches
non-default colormap/depth/visual. This commit fixes that by creating st's window inside root and then reparent it into embedder. The reference window for dc.gc is also changed to match root's visuals. A similar commit had been made for dmenu[1]. See this issue[2] on github for context. [1]: https://git.suckless.org/dmenu/commit/0fe460dbd469a1d5b6a7140d0e1801935e4a923b.html [2]: https://github.com/phillbush/xfiles/issues/47 See: https://lists.suckless.org/hackers/2408/19158.html#start19158
Diffstat (limited to 'st.c')
0 files changed, 0 insertions, 0 deletions