2 #include "draghandle.h"
7 DragHandle::DragHandle():
13 void DragHandle::button_press(int x, int y, unsigned btn)
23 void DragHandle::button_release(int, int, unsigned btn)
29 void DragHandle::pointer_motion(int x, int y)
33 const Geometry &pgeom = parent->get_geometry();
34 parent->set_position(pgeom.x+x-drag_x, pgeom.y+y-drag_y);
38 void DragHandle::on_reparent()