Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpha patch breaks SETPROP function #4

Open
yuandi42 opened this issue Jan 14, 2023 · 1 comment
Open

alpha patch breaks SETPROP function #4

yuandi42 opened this issue Jan 14, 2023 · 1 comment

Comments

@yuandi42
Copy link

yuandi42 commented Jan 14, 2023

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
Copy link

hossein-lap commented Oct 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants