chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get pirate name right
[ypp-sc-tools.web-live.git]
/
pctb
/
x-manip-window.c
diff --git
a/pctb/x-manip-window.c
b/pctb/x-manip-window.c
index 7dd15a7e29b70516cebe2cab5c4f630d1ac955b2..33d08c2d26d47d685441a4e73009cbb1f77cf9c2 100644
(file)
--- a/
pctb/x-manip-window.c
+++ b/
pctb/x-manip-window.c
@@
-20,7
+20,6
@@
static KeyCode keycode(const char *s) {
int main(int argc, const char *const *argv) {
char *ep;
XWindowAttributes attr;
int main(int argc, const char *const *argv) {
char *ep;
XWindowAttributes attr;
- Window dummy;
int xpos,ypos;
unsigned width,height,bd,depth;
int r;
int xpos,ypos;
unsigned width,height,bd,depth;
int r;
@@
-34,6
+33,7
@@
int main(int argc, const char *const *argv) {
r= XGetGeometry(disp,id, &attr.root,&xpos,&ypos,&width,&height, &bd,&depth);
eassert(r);
r= XGetGeometry(disp,id, &attr.root,&xpos,&ypos,&width,&height, &bd,&depth);
eassert(r);
+ Window dummy;
r= XTranslateCoordinates(disp, id,attr.root, 160,160, &xpos,&ypos,
&dummy);
eassert(r);
r= XTranslateCoordinates(disp, id,attr.root, 160,160, &xpos,&ypos,
&dummy);
eassert(r);