Lines Matching refs:dragx
52 static int dragx; /* all these variables are used */
104 h = (int)(x - dragx) / (int)(dragWidth < 3 ? 1 : (dragWidth / 3));
110 clampDX = (x - dragx);
114 clampDX = (x - dragx - dragWidth);
209 &dragx, &dragy, &dragWidth, &dragHeight, &junkbw,
211 dragx += tmp_win->frame_bw;
213 origx = dragx;
234 MoveOutline(Scr->Root, dragx - tmp_win->frame_bw,
250 dragx = x + tmp_win->frame_bw;
252 origx = dragx;
260 MoveResizeSizeWindow(dragx, dragy,
266 MoveOutline(Scr->Root, dragx - tmp_win->frame_bw,
292 dragx = x + tmp_win->frame_bw;
294 origx = dragx;
337 int delta = x_root - dragx;
342 dragx += delta;
347 else if(x_root <= dragx) {
348 dragx = x_root;
377 int delta = x_root - dragx - dragWidth;
387 else if(x_root >= dragx + dragWidth) {
388 dragx = origx;
401 dragx = origx + origWidth - dragWidth;
407 SetupWindow(tmp_win, dragx - tmp_win->frame_bw, dragy - tmp_win->frame_bw,
411 dragx - tmp_win->frame_bw,
471 int delta = x_root - dragx;
476 dragx += delta;
481 else if(x_root <= dragx) {
482 dragx = x_root;
511 int delta = x_root - dragx - dragWidth;
521 else if(x_root >= dragx + dragWidth - 1) {
522 dragx = origx;
535 dragx = origx + origWidth - dragWidth;
541 SetupWindow(tmp_win, dragx - tmp_win->frame_bw, dragy - tmp_win->frame_bw,
546 dragx - tmp_win->frame_bw,
656 SetupWindow(tmp_win, dragx - tmp_win->frame_bw, dragy - tmp_win->frame_bw,
686 AddingX = dragx - tmp_win->frame_bw;
710 AddingX = dragx;
914 &dragx, &dragy, (unsigned int *)&dragWidth, (unsigned int *)&dragHeight,
940 dragx = tmp_win->save_frame_x;
971 tmp_win->save_frame_x = dragx;
980 area = RAreaNew(dragx, dragy, dragWidth, dragHeight);
1002 dragx = finalArea.x;
1012 dragx = finalArea.x;
1018 dragx = RLayoutFindLeftEdge(borderedLayout, &area);
1019 dragWidth += area.x - dragx;
1023 dragx = RLayoutFindMonitorLeftEdge(borderedLayout, &area);
1024 dragWidth += area.x - dragx;
1070 dragx = finalArea.x - bw;
1105 SetupWindow(tmp_win, dragx, dragy, dragWidth, dragHeight, -1);