mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
d'oh, got the return values backwards
This commit is contained in:
parent
388513e005
commit
0f30506b79
1 changed files with 2 additions and 2 deletions
|
@ -551,13 +551,13 @@ X11_GetWindowCoords (int *ax, int *ay)
|
|||
if ((XGetGeometry (x_disp, x_win, &theroot, &x, &y, &width, &height,
|
||||
&bdwidth, &depth) == False)) {
|
||||
Con_Printf ("XGetWindowAttributes failed in X11_GetWindowCoords.\n");
|
||||
return true;
|
||||
return false;
|
||||
} else {
|
||||
XTranslateCoordinates (x_disp,x_win,theroot, -bdwidth, -bdwidth,
|
||||
ax, ay, &scrap);
|
||||
Con_DPrintf ("Window coords = %dx%d (%d,%d)\n", *ax, *ay,
|
||||
width, height);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue