forked from pyrite-dev/milsko
update
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@813 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
8a02b3d31b
commit
f2bbadf62b
8 changed files with 41 additions and 3 deletions
|
|
@ -990,6 +990,17 @@ static void MwLLMakeToolWindowImpl(MwLL handle) {
|
|||
XChangeProperty(handle->x11.display, handle->x11.window, wndtype, XA_ATOM, 32, PropModeReplace, (unsigned char*)&wndmenu, 1);
|
||||
}
|
||||
|
||||
static void MwLLGetCursorCoordImpl(MwLL handle, MwPoint* point) {
|
||||
Window root, child;
|
||||
int rx, ry, wx, wy;
|
||||
unsigned int m;
|
||||
|
||||
XQueryPointer(handle->x11.display, DefaultRootWindow(handle->x11.display), &root, &child, &rx, &ry, &wx, &wy, &m);
|
||||
|
||||
point->x = rx;
|
||||
point->y = ry;
|
||||
}
|
||||
|
||||
static void MwLLBeginStateChangeImpl(MwLL handle) {
|
||||
MwLLShow(handle, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue