Merge branch 'cjacker-xim_cursor_follow' into hotfix-1.5.5
This commit is contained in:
commit
e5dc98bf4e
@ -835,6 +835,19 @@ namespace detail
|
|||||||
i->second->reinstate();
|
i->second->reinstate();
|
||||||
i->second->pos = pos;
|
i->second->pos = pos;
|
||||||
}
|
}
|
||||||
|
auto addr = i->second;
|
||||||
|
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,
|
||||||
|
XNForeground, 0,
|
||||||
|
XNBackground, 0,
|
||||||
|
(void *)0);
|
||||||
|
::XSetICValues(addr->input_context, XNPreeditAttributes, list, NULL);
|
||||||
|
::XFree(list);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void platform_spec::caret_visible(native_window_type wd, bool vis)
|
void platform_spec::caret_visible(native_window_type wd, bool vis)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user