diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-04-17 18:07:11 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-04-17 18:07:11 +0000 |
| commit | 6818216c3047b7eea83138670f7bb6d02e7314b2 (patch) | |
| tree | 62c929995781bacf4455228e30d93f81e9bcec05 /src/Fl_x.cxx | |
| parent | e2495a760a7c5987724467923b9beb57c50ccfeb (diff) | |
Fixes for Linux for recent commits.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 1978545d9..99da7f755 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -321,8 +321,8 @@ XVisualInfo *fl_visual; Colormap fl_colormap; static XIM fl_xim_im = 0; XIC fl_xim_ic = 0; -static Window fl_xim_win = 0; -static char fl_is_over_the_spot = 0; +Window fl_xim_win = 0; +char fl_is_over_the_spot = 0; static XRectangle status_area; static Atom WM_DELETE_WINDOW; @@ -550,6 +550,10 @@ static void fl_init_xim() { void fl_xim_deactivate(void); +extern XRectangle fl_spot; +extern int fl_spotf; +extern int fl_spots; + void fl_xim_activate(Window xid) { if (!fl_xim_im) return; @@ -568,7 +572,7 @@ void fl_xim_activate(Window xid) { NULL); } - fl_set_spot(spotf, spots, spot.x, spot.y, spot.width, spot.height); + fl_set_spot(fl_spotf, fl_spots, fl_spot.x, fl_spot.y, fl_spot.width, fl_spot.height); } void fl_xim_deactivate(void) { |
