Also need to check addr
This commit is contained in:
parent
9379f19c19
commit
b7ad2d99e0
@ -836,9 +836,9 @@ namespace detail
|
|||||||
i->second->pos = pos;
|
i->second->pos = pos;
|
||||||
}
|
}
|
||||||
auto addr = i->second;
|
auto addr = i->second;
|
||||||
XPoint spot;
|
if(addr && addr->input_context) {
|
||||||
XVaNestedList list;
|
XPoint spot;
|
||||||
if(addr->input_context) {
|
XVaNestedList list;
|
||||||
spot.x = pos.x;
|
spot.x = pos.x;
|
||||||
spot.y = pos.y + addr->size.height;
|
spot.y = pos.y + addr->size.height;
|
||||||
list = ::XVaCreateNestedList(0, XNSpotLocation, &spot,
|
list = ::XVaCreateNestedList(0, XNSpotLocation, &spot,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user