that is simply wrong
This commit is contained in:
parent
0c787264c6
commit
bbc27d680a
1 changed files with 1 additions and 1 deletions
|
|
@ -1020,7 +1020,7 @@ static void MwLLGetCursorCoordImpl(MwLL handle, MwPoint* point) {
|
|||
|
||||
static void MwLLGetScreenSizeImpl(MwLL handle, MwRect* rect) {
|
||||
XWindowAttributes xwa;
|
||||
XGetWindowAttributes(handle->x11.display, handle->x11.window, &xwa);
|
||||
XGetWindowAttributes(handle->x11.display, DefaultRootWindow(handle->x11.display), &xwa);
|
||||
|
||||
rect->x = rect->y = 0;
|
||||
rect->width = xwa.width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue