(15.08.2012)Isegrim schrieb: settings.getString(username, "none")
Was für Sprache war das?
OK, hier ist mein Zwischenablageinhalt:
/*
* Get the parameters of the window being dumped.
*/
if(!XGetWindowAttributes(dpy, window, &win_info))
printf("Can't get target window attributes.");
/* handle any frame window */
if (!XTranslateCoordinates (dpy, window, RootWindow (dpy, screen), 0, 0,
&absx, &absy, &dummywin)) {
fprintf (stderr,
"unable to translate window coordinates (%d,%d)\n",
absx, absy);
exit (1);
}
win_info.x = absx;
win_info.y = absy;
width = win_info.width;
height = win_info.height;