mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 05:01:02 -08:00
Fix XI 2.0 build
* src/xterm.c (handle_one_xevent): Move declaration of dummy out of HAVE_XINPUT2_1.
This commit is contained in:
parent
47dcf72dec
commit
1babe5fb2d
1 changed files with 2 additions and 1 deletions
|
|
@ -12593,6 +12593,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
goto XI_OTHER;
|
||||
#endif
|
||||
|
||||
Window dummy;
|
||||
|
||||
#ifdef HAVE_XINPUT2_1
|
||||
#ifdef HAVE_XWIDGETS
|
||||
struct xwidget_view *xv = xwidget_view_from_window (xev->event);
|
||||
|
|
@ -12603,7 +12605,6 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
double total_y = 0.0;
|
||||
|
||||
int real_x, real_y;
|
||||
Window dummy;
|
||||
|
||||
for (int i = 0; i < states->mask_len * 8; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue