tabbed-flexipatch icon indicating copy to clipboard operation
tabbed-flexipatch copied to clipboard

alpha patch breaks `SETPROP` function

Open yuandi42 opened this issue 3 years ago • 1 comments

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

yuandi42 avatar Jan 14 '23 16:01 yuandi42

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.

  • no alpha patch for dmenu and tabbed: no-alpha

  • alpha patch for both: image

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

  • alpha patch only for tabbed: image

  • alpha patch only for dmenu: image

Applied patches

hossein-lap avatar Oct 21 '23 21:10 hossein-lap