mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-29 07:58:21 -04:00
opt: allow ime in on-demand layer
This commit is contained in:
parent
28ab0e6343
commit
b768f72eaa
1 changed files with 2 additions and 0 deletions
|
|
@ -2227,6 +2227,8 @@ void maplayersurfacenotify(struct wl_listener *listener, void *data) {
|
||||||
l->layer_surface->current.keyboard_interactive ==
|
l->layer_surface->current.keyboard_interactive ==
|
||||||
ZWLR_LAYER_SURFACE_V1_KEYBOARD_INTERACTIVITY_ON_DEMAND) {
|
ZWLR_LAYER_SURFACE_V1_KEYBOARD_INTERACTIVITY_ON_DEMAND) {
|
||||||
focusclient(NULL, 0);
|
focusclient(NULL, 0);
|
||||||
|
dwl_im_relay_set_focus(dwl_input_method_relay,
|
||||||
|
l->layer_surface->surface);
|
||||||
client_notify_enter(l->layer_surface->surface,
|
client_notify_enter(l->layer_surface->surface,
|
||||||
wlr_seat_get_keyboard(seat));
|
wlr_seat_get_keyboard(seat));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue