private static extern int XGetWindowAttributes(IntPtr display, IntPtr w, out XWindowAttributes window_attributes_return);
public void HandleButtonPress(XButtonEvent e, XWindow window, XWindow root, XWindow subwindow) { pointer.Grab (e.window, XEventMask.PointerMotionMask | XEventMask.ButtonReleaseMask); attr = resize_main_win.GetAttributes (); start = e; old_resize_x = resize_win_x; old_resize_y = resize_win_y; }