mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-03 01:41:28 -05:00
feat: support input method
The ime.c is basically derived from sway's text_input.c.
This commit is contained in:
parent
360e259ca5
commit
d2316a3407
9 changed files with 960 additions and 19 deletions
2
view.c
2
view.c
|
|
@ -137,7 +137,7 @@ view_map(struct cg_view *view, struct wlr_surface *surface)
|
|||
#if CAGE_HAS_XWAYLAND
|
||||
/* We shouldn't position override-redirect windows. They set
|
||||
their own (x,y) coordinates in handle_wayland_surface_map. */
|
||||
if (view->type != CAGE_XWAYLAND_VIEW || xwayland_view_should_manage(view))
|
||||
if (view->type == CAGE_XDG_SHELL_VIEW || (view->type == CAGE_XWAYLAND_VIEW && xwayland_view_should_manage(view)))
|
||||
#endif
|
||||
{
|
||||
view_position(view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue