Skip to content

How to change property with pixmap #184

@not-null-nil

Description

@not-null-nil

Code in C:

XChangeProperty(disp2, root2, prop_root, XA_PIXMAP, 32, PropModeReplace, (unsigned char *) &pmap_d2, 1);

How to do this in clx?
I tried something like this:

(setf *pixmap* (xlib:create-pixmap
		:drawable *root*
		:width (xlib:drawable-width *root*)
		:height (xlib:drawable-height *root*)
		:depth (xlib:drawable-depth *root*)))
(xlib:change-property *root*
		      :_XROOTMAP_ID
		      *pixmap*
		      :pixmap
		      32
		      :mode :replace)

but apperently, *pixmap* will just not work.
Do I have to get address of pixmap? And how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions