Lines Matching refs:evt

453     XEvent evt;  in InitiateWindowMove()  local
459 evt.xclient.type = ClientMessage; in InitiateWindowMove()
460 evt.xclient.window = data->xwindow; in InitiateWindowMove()
461 evt.xclient.message_type = X11_XInternAtom(display, "_NET_WM_MOVERESIZE", True); in InitiateWindowMove()
462 evt.xclient.format = 32; in InitiateWindowMove()
463 evt.xclient.data.l[0] = window->x + point->x; in InitiateWindowMove()
464 evt.xclient.data.l[1] = window->y + point->y; in InitiateWindowMove()
465 evt.xclient.data.l[2] = _NET_WM_MOVERESIZE_MOVE; in InitiateWindowMove()
466 evt.xclient.data.l[3] = Button1; in InitiateWindowMove()
467 evt.xclient.data.l[4] = 0; in InitiateWindowMove()
468 …splay, DefaultRootWindow(display), False, SubstructureRedirectMask | SubstructureNotifyMask, &evt); in InitiateWindowMove()
479 XEvent evt; in InitiateWindowResize() local
488 evt.xclient.type = ClientMessage; in InitiateWindowResize()
489 evt.xclient.window = data->xwindow; in InitiateWindowResize()
490 evt.xclient.message_type = X11_XInternAtom(display, "_NET_WM_MOVERESIZE", True); in InitiateWindowResize()
491 evt.xclient.format = 32; in InitiateWindowResize()
492 evt.xclient.data.l[0] = window->x + point->x; in InitiateWindowResize()
493 evt.xclient.data.l[1] = window->y + point->y; in InitiateWindowResize()
494 evt.xclient.data.l[2] = direction; in InitiateWindowResize()
495 evt.xclient.data.l[3] = Button1; in InitiateWindowResize()
496 evt.xclient.data.l[4] = 0; in InitiateWindowResize()
497 …splay, DefaultRootWindow(display), False, SubstructureRedirectMask | SubstructureNotifyMask, &evt); in InitiateWindowResize()