FLTK logo

[master] 00b603f - Very partial fix for "IME problem under wayland" in fltk-rs

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 00b603f - Very partial fix for "IME problem under wayland" in fltk-rs "ManoloFLTK" 01:17 Apr 24  
 
commit 00b603fa09027ae7ce3203786d942f625ef83cf8
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Apr 24 10:03:17 2024 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Apr 24 10:03:17 2024 +0200

    Very partial fix for "IME problem under wayland" in fltk-rs
    
    see: https://github.com/fltk-rs/fltk-rs/issues/1539

 src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
index 92e9530..19ab37d 100644
--- src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
+++ src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
@@ -911,9 +911,9 @@ void text_input_commit_string(void *data, struct zwp_text_input_v3 *zwp_text_inp
   Fl_Window *win =  Fl_Wayland_Window_Driver::surface_to_window(surface);
   set_event_xy(win);
   Fl::e_is_click = 0;
+  Fl_Wayland_Screen_Driver::next_marked_length = 0;
   Fl::handle(FL_KEYDOWN, win);
   zwp_text_input_v3_commit(zwp_text_input_v3);
-  Fl_Wayland_Screen_Driver::next_marked_length = 0;
   Fl::compose_state = 0;
 }
 
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.