Implement methods Fl_Wayland_Screen_Driver::en/disable_im()
This commit is contained in:
parent
16338ff4e4
commit
a242e4a65d
@ -169,6 +169,8 @@ public:
|
||||
void *control_maximize_button(void *data) FL_OVERRIDE;
|
||||
int event_key(int k) FL_OVERRIDE;
|
||||
int get_key(int k) FL_OVERRIDE;
|
||||
void enable_im() FL_OVERRIDE;
|
||||
void disable_im() FL_OVERRIDE;
|
||||
|
||||
// Wayland-specific member functions
|
||||
void screen_count_set(int count) {num_screens = count;}
|
||||
|
||||
@ -802,6 +802,16 @@ static const struct wl_keyboard_listener wl_keyboard_listener = {
|
||||
};
|
||||
|
||||
|
||||
void Fl_Wayland_Screen_Driver::enable_im() {
|
||||
if (seat->text_input) zwp_text_input_v3_enable(seat->text_input);
|
||||
}
|
||||
|
||||
|
||||
void Fl_Wayland_Screen_Driver::disable_im() {
|
||||
if (seat->text_input) zwp_text_input_v3_disable(seat->text_input);
|
||||
}
|
||||
|
||||
|
||||
void text_input_enter(void *data, struct zwp_text_input_v3 *zwp_text_input_v3,
|
||||
struct wl_surface *surface) {
|
||||
//puts("text_input_enter");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user