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