window.c
changeset 1980 9ea0c89fbb58
parent 1891 92a3b0aa0946
child 2021 3be628c59488
equal deleted inserted replaced
1979:f4462d4e8e62 1980:9ea0c89fbb58
   765 	e.place.pt = GetTileBelowCursor();
   765 	e.place.pt = GetTileBelowCursor();
   766 	if (e.place.pt.x == -1) {
   766 	if (e.place.pt.x == -1) {
   767 		_thd.selend.x = -1;
   767 		_thd.selend.x = -1;
   768 		return;
   768 		return;
   769 	}
   769 	}
   770 	e.place.tile = TILE_FROM_XY(e.place.pt.x, e.place.pt.y);
   770 	e.place.tile = TileVirtXY(e.place.pt.x, e.place.pt.y);
   771 	e.event = WE_PLACE_PRESIZE;
   771 	e.event = WE_PLACE_PRESIZE;
   772 	w->wndproc(w, &e);
   772 	w->wndproc(w, &e);
   773 }
   773 }
   774 
   774 
   775 static bool HandleDragDrop(void)
   775 static bool HandleDragDrop(void)