* src/xterm.c (handle_one_xevent): Don't check tab_bar_p or
tool_bar_p before clearing last items during drag-and-drop.
dpyinfo->grabbed |= (1 << event->xbutton.button);
dpyinfo->last_mouse_frame = f;
- if (f && !tab_bar_p)
+
+ if (f)
f->last_tab_bar_item = -1;
#if ! defined (USE_GTK)
- if (f && !tool_bar_p)
+ if (f)
f->last_tool_bar_item = -1;
#endif /* not USE_GTK */
}
if (device)
device->grab |= (1 << xev->detail);
- if (f && !tab_bar_p)
+ if (f)
f->last_tab_bar_item = -1;
#if ! defined (USE_GTK)
- if (f && !tool_bar_p)
+ if (f)
f->last_tool_bar_item = -1;
#endif /* not USE_GTK */
}