Lines Matching refs:dragHeight

78 static int dragHeight;
119 (dragHeight < 3 ? 1 : (dragHeight / 3)));
136 clampDY = (y - dragy - dragHeight);
162 (unsigned int *) &dragHeight, &junkbw, &junkDepth);
168 origHeight = dragHeight;
185 dragHeight + 2 * tmp_win->frame_bw,
202 dragHeight = origHeight = h; /* - 2 * tmp_win->frame_bw; */
215 dragHeight + 2 * tmp_win->frame_bw,
237 dragHeight = origHeight = h - 2 * tmp_win->frame_bw;
262 if (dragHeight - delta < MINHEIGHT) {
263 delta = dragHeight - MINHEIGHT;
267 dragHeight -= delta;
273 dragHeight = origy + origHeight - y_root;
300 int delta = y_root - dragy - dragHeight;
302 if (dragHeight + delta < MINHEIGHT) {
303 delta = MINHEIGHT - dragHeight;
306 dragHeight += delta;
309 else if (y_root >= dragy + dragHeight) {
311 dragHeight = 1 + y_root - dragy;
337 ConstrainSize(tmp_win, &dragWidth, &dragHeight);
341 dragy = origy + origHeight - dragHeight;
346 dragHeight + 2 * tmp_win->frame_bw,
350 DisplaySize(tmp_win, dragWidth, dragHeight);
374 if (dragHeight - delta < MINHEIGHT) {
375 delta = dragHeight - MINHEIGHT;
379 dragHeight -= delta;
385 dragHeight = origy + origHeight - y_root;
412 int delta = y_root - dragy - dragHeight;
414 if (dragHeight + delta < MINHEIGHT) {
415 delta = MINHEIGHT - dragHeight;
418 dragHeight += delta;
421 else if (y_root >= dragy + dragHeight - 1 /* ||
425 dragHeight = 1 + y_root - dragy;
453 ConstrainSize(tmp_win, &dragWidth, &dragHeight);
457 dragy = origy + origHeight - dragHeight;
462 dragHeight + 2 * tmp_win->frame_bw,
466 DisplaySize(tmp_win, dragWidth, dragHeight);
538 ConstrainSize(tmp_win, &dragWidth, &dragHeight);
541 dragHeight != tmp_win->frame_height)
545 dragWidth, dragHeight, -1);
572 ConstrainSize(tmp_win, &dragWidth, &dragHeight);
576 AddingH = dragHeight; /* + (2 * tmp_win->frame_bw); */
591 ConstrainSize(tmp_win, &dragWidth, &dragHeight);
595 AddingH = dragHeight + (2 * tmp_win->frame_bw);
922 (unsigned int *) &dragHeight, &junkbw, &junkDepth);
928 dragHeight = tmp_win->save_frame_height;
941 tmp_win->save_frame_height = dragHeight;
953 dragHeight = Scr->MyDisplayHeight - frame_bw_times_2;
963 dragHeight = Scr->MyDisplayHeight - frame_bw_times_2;
969 dragHeight = Scr->MyDisplayHeight - frame_bw_times_2;
975 dragHeight = Scr->MyDisplayHeight - frame_bw_times_2;
981 dragHeight = Scr->MyDisplayHeight / 2 - frame_bw_times_2;
987 dragHeight = Scr->MyDisplayHeight / 2 - frame_bw_times_2;
996 ConstrainSize(tmp_win, &dragWidth, &dragHeight);
998 SetupWindow(tmp_win, dragx, dragy, dragWidth, dragHeight, -1);