Created
August 5, 2012 02:08
-
-
Save dominictarr/3261138 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//I want to call this function, and retrive parent and root. | |
Status XQueryTree(Display *display, Window w, Window *root_return, Window *parent_return, Window **children_return, unsignedint *nchildren_return); | |
//I already have dsp, and win. | |
Window root = 0; | |
Window parent = 0; | |
Window* children; | |
unsigned int schildren = 0; | |
XQueryTree(dsp, win, &root, &parent, &children, &nchildren); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment