Use tab instead of space to match original source format

This commit is contained in:
Cjacker 2017-10-25 15:09:09 +08:00
parent 7c7b0333d4
commit 9379f19c19

View File

@ -835,19 +835,19 @@ namespace detail
i->second->reinstate(); i->second->reinstate();
i->second->pos = pos; i->second->pos = pos;
} }
auto addr = i->second; auto addr = i->second;
XPoint spot; XPoint spot;
XVaNestedList list; XVaNestedList list;
if(addr->input_context) { if(addr->input_context) {
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,
XNForeground, 0, XNForeground, 0,
XNBackground, 0, XNBackground, 0,
(void *)0); (void *)0);
::XSetICValues(addr->input_context, XNPreeditAttributes, list, NULL); ::XSetICValues(addr->input_context, XNPreeditAttributes, list, NULL);
::XFree(list); ::XFree(list);
} }
} }
void platform_spec::caret_visible(native_window_type wd, bool vis) void platform_spec::caret_visible(native_window_type wd, bool vis)