Lines Matching defs:eBtn
1758 XButtonEvent eBtn;
1759 RT_ZERO(eBtn);
1761 eBtn.display = m_pDisplay;
1762 eBtn.root = m_wndRoot;
1763 eBtn.window = wndDest;
1764 eBtn.subwindow = None;
1765 eBtn.same_screen = True;
1766 eBtn.time = CurrentTime;
1767 eBtn.button = iButton;
1768 eBtn.state |= iButton == 1 ? Button1Mask /*:
1773 eBtn.type = fPress ? ButtonPress : ButtonRelease;
1774 eBtn.send_event = False;
1775 eBtn.x_root = rx;
1776 eBtn.y_root = ry;
1778 //XTranslateCoordinates(m_pDisplay, eBtn.root, eBtn.window, eBtn.x_root, eBtn.y_root, &eBtn.x, &eBtn.y, &eBtn.subwindow);
1780 int xrc = XSendEvent(m_pDisplay, eBtn.window, True /* fPropagate */,
1783 reinterpret_cast<XEvent*>(&eBtn));
1785 int xrc = XSendEvent(m_pDisplay, eBtn.window, False /* fPropagate */,
1787 reinterpret_cast<XEvent*>(&eBtn));