bakkeby / tabbed-flexipatch

A tabbed build with preprocessor directives to decide which patches to include during build time
MIT License
42 stars 13 forks source link

alpha patch breaks `SETPROP` function #4

Open yuandi42 opened 1 year ago

yuandi42 commented 1 year ago

SETPROP function, which is defined in config.def.h and binded to Ctrl+`, would be broken if and only if the alpha patch was patched.

The main problem is dmenu -w $xid encounters error:

X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  62 (X_CopyArea)
Serial number of failed request:  157
Current serial number in output stream:  158

Any help would be appreciated.

P.S.: test with unpatched dmenu 5.2

hossein-lap commented 10 months ago

I think I have found something on this. When I applied alpha patch to dmenu 5.2, the dmenu started to work just fine! I guess it could be the Depth (in xwininfo output for tabbed) which I don't really know what is referring to. maybe the bits[1]

[1]: in alpha page from tabbed's patches section:

This patch create 32bit window in tabbed.

With only one of them have the alpha patch applied, there is gonna be problem I guess:

Applied patches